From d8a92af6175df36e6708dc2e749a65396a3da908 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sun, 26 Jul 2020 05:37:03 +1000 Subject: [PATCH] Move Comm and Input Lua libraries to Client.Common --- .../lua/CommonLibs}/CommLuaLibrary.cs | 6 +++--- .../lua/CommonLibs}/InputLuaLibrary.cs | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) rename src/{BizHawk.Client.EmuHawk/tools/Lua/Libraries => BizHawk.Client.Common/lua/CommonLibs}/CommLuaLibrary.cs (95%) rename src/{BizHawk.Client.EmuHawk/tools/Lua/Libraries => BizHawk.Client.Common/lua/CommonLibs}/InputLuaLibrary.cs (91%) diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/CommLuaLibrary.cs b/src/BizHawk.Client.Common/lua/CommonLibs/CommLuaLibrary.cs similarity index 95% rename from src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/CommLuaLibrary.cs rename to src/BizHawk.Client.Common/lua/CommonLibs/CommLuaLibrary.cs index e07beb3371..8ab2c03073 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/CommLuaLibrary.cs +++ b/src/BizHawk.Client.Common/lua/CommonLibs/CommLuaLibrary.cs @@ -1,10 +1,10 @@ using System; using System.ComponentModel; -using NLua; -using BizHawk.Client.Common; using System.Text; -namespace BizHawk.Client.EmuHawk +using NLua; + +namespace BizHawk.Client.Common { [Description("A library for communicating with other programs")] public sealed class CommLuaLibrary : DelegatingLuaLibrary diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/InputLuaLibrary.cs b/src/BizHawk.Client.Common/lua/CommonLibs/InputLuaLibrary.cs similarity index 91% rename from src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/InputLuaLibrary.cs rename to src/BizHawk.Client.Common/lua/CommonLibs/InputLuaLibrary.cs index 3f54364b2c..ce85f7340a 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/InputLuaLibrary.cs +++ b/src/BizHawk.Client.Common/lua/CommonLibs/InputLuaLibrary.cs @@ -2,9 +2,7 @@ using NLua; -using BizHawk.Client.Common; - -namespace BizHawk.Client.EmuHawk +namespace BizHawk.Client.Common { public sealed class InputLuaLibrary : DelegatingLuaLibrary {