diff options
Diffstat (limited to 'plugins/MirLua/src/mlua.h')
-rw-r--r-- | plugins/MirLua/src/mlua.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h index cf1eb7c0fa..fc10545c42 100644 --- a/plugins/MirLua/src/mlua.h +++ b/plugins/MirLua/src/mlua.h @@ -7,15 +7,22 @@ private: lua_State *L;
static luaL_Reg coreLib[15];
- void Preload(const char *name, lua_CFunction func);
+ void LoadModule(const char *name, lua_CFunction func);
+
+ void LoadCoreModule();
+ void LoadMirandaModules();
+
+ void Load();
+ void Unload();
public:
CMLua();
~CMLua();
- void AddPath(const char *path);
+ void Reload();
- void Load(const char *name);
+ void AddScriptsPath(const char *path);
+ void LoadScript(const char *name);
static WPARAM GetWParam(lua_State *L, int idx);
static LPARAM GetLParam(lua_State *L, int idx);
|