diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-18 19:43:12 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-18 19:43:12 +0000 |
commit | 059a7ea5928d49d81ed1d884e59c60f152983539 (patch) | |
tree | 8d4065bfa11f5cba5714d131842108c6a1286922 /plugins/MirLua/src/mlua.h | |
parent | 952154728cfc9a390f9f7b2e3326ea32d76e0003 (diff) |
MirLua:
- removed OnScriptLoaded/OnScriptUnload
- removed second script path
- module loading and options refactoring
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@14587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.h')
-rw-r--r-- | plugins/MirLua/src/mlua.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h index 28fcff5b45..d73d88f7e0 100644 --- a/plugins/MirLua/src/mlua.h +++ b/plugins/MirLua/src/mlua.h @@ -14,14 +14,11 @@ class CMLua {
private:
lua_State *L;
- HANDLE hLoadedEvent;
- HANDLE hUnloadEvent;
static void KillModuleEventHooks();
static void KillModuleServices();
-
- void Load();
- void Unload();
+
+
public:
static LIST<void> Hooks;
@@ -30,14 +27,13 @@ public: static LIST<void> HookRefs;
static LIST<void> ServiceRefs;
+ LIST<CMLuaScript> Scripts;
+
CMLua();
~CMLua();
- void Reload();
- void Reload(const TCHAR* path);
-
- static int OnScriptLoaded(lua_State *L);
- static int OnScriptUnload(lua_State *L);
+ void Load();
+ void Unload();
static int HookEventObjParam(void *obj, WPARAM wParam, LPARAM lParam, LPARAM param);
};
|