summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r--plugins/MirLua/src/mlua_script.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index 8cf7fc1e29..c466e16c20 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -4,6 +4,8 @@
class CMLuaScript
{
public:
+ lua_State *L;
+
enum Status
{
None,
@@ -21,7 +23,7 @@ private:
public:
- CMLuaScript(const TCHAR *path);
+ CMLuaScript(lua_State *L, const TCHAR *path);
~CMLuaScript();
static CMLuaScript* GetScriptFromEnviroment(lua_State *L);
@@ -37,8 +39,8 @@ public:
const Status GetStatus() const;
- bool Load(lua_State *L);
- void Unload(lua_State *L);
+ bool Load();
+ void Unload();
};
#endif //_LUA_SCRIPT_H_