summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/lua.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-06-13 21:06:38 +0300
committeraunsane <aunsane@gmail.com>2018-06-15 20:43:41 +0300
commit3d95ec897aba52663e8aa919bb8dd9eed5f74dbc (patch)
tree7428bcc4d8ad95c2a7ef78990db58707fbb108ef /plugins/MirLua/src/lua.h
parenta183cb3bb45cfd3e59e0220b71dba7fa10d0e358 (diff)
MirLua:
- Lua engine moved to separate class - added ability to compile scripts - renamed script enable setting name - version bump
Diffstat (limited to 'plugins/MirLua/src/lua.h')
-rw-r--r--plugins/MirLua/src/lua.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/MirLua/src/lua.h b/plugins/MirLua/src/lua.h
new file mode 100644
index 0000000000..5d64c65ff6
--- /dev/null
+++ b/plugins/MirLua/src/lua.h
@@ -0,0 +1,17 @@
+#pragma once
+
+class CMLua
+{
+ friend class CMPlugin;
+
+private:
+ lua_State *L;
+
+public:
+ CMLua();
+ ~CMLua();
+
+ lua_State* GetState();
+
+ void Load();
+};