diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r-- | plugins/MirLua/src/mlua_script.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h index 9a1ec98390..70c044741e 100644 --- a/plugins/MirLua/src/mlua_script.h +++ b/plugins/MirLua/src/mlua_script.h @@ -19,19 +19,24 @@ private: wchar_t *fileName;
wchar_t filePath[MAX_PATH];
+ void Unload();
+
public:
CMLuaScript(lua_State *L, const wchar_t *path);
CMLuaScript(const CMLuaScript &script);
~CMLuaScript();
- const char* GetModuleName() const;
-
const wchar_t* GetFilePath() const;
const wchar_t* GetFileName() const;
+ bool IsEnabled();
+ void Enable();
+ void Disable();
+
Status GetStatus() const;
bool Load();
+ bool Reload();
};
#endif //_LUA_SCRIPT_H_
|