diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-14 11:37:39 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-14 11:37:39 +0000 |
commit | a5983f7d5999e6488e4b21fb17fa1d7702ecfb03 (patch) | |
tree | 1efe77345af957e40fc9bdc90b3824903708a2fb /plugins/MirLua/src/mlua_script_loader.h | |
parent | e13b6b468a19ab498231c338bdda07f7028fb1df (diff) |
MirLua: added single script reloading
git-svn-id: http://svn.miranda-ng.org/main/trunk@14557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script_loader.h')
-rw-r--r-- | plugins/MirLua/src/mlua_script_loader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua_script_loader.h b/plugins/MirLua/src/mlua_script_loader.h index fe15bbc08b..0d229053d3 100644 --- a/plugins/MirLua/src/mlua_script_loader.h +++ b/plugins/MirLua/src/mlua_script_loader.h @@ -14,8 +14,13 @@ private: void LoadScript(const TCHAR *path);
void LoadScripts(const TCHAR *scriptDir);
+ void UnloadScript(const TCHAR *path);
+
+ void ReloadScript(const TCHAR *path);
+
public:
static void Load(lua_State *L);
+ static void Reload(lua_State *L, const TCHAR* path);
};
#endif //_LUA_SCRIPT_LOADER_H_
\ No newline at end of file |