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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index 2b5d57d7c7..36008d063b 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -12,14 +12,16 @@ public:
};
private:
+ Status status;
int unloadRef;
+
char *moduleName;
wchar_t *fileName;
wchar_t filePath[MAX_PATH];
- Status status;
public:
CMLuaScript(lua_State *L, const wchar_t *path);
+ CMLuaScript(const CMLuaScript &script);
~CMLuaScript();
const char* GetModuleName() const;
@@ -27,10 +29,9 @@ public:
const wchar_t* GetFilePath() const;
const wchar_t* GetFileName() const;
- const Status GetStatus() const;
+ Status GetStatus() const;
bool Load();
- void Unload();
};
#endif //_LUA_SCRIPT_H_