blob: 51d3a0b5bbc7ac55e14db167839c03e3112abe6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _LUA_CORE_H_
#define _LUA_CORE_H_
class CMLua
{
private:
lua_State *L;
static luaL_Reg coreLib[15];
void LoadModule(const char *name, lua_CFunction func);
void LoadCoreModule();
void LoadMirandaModules();
void Load();
void Unload();
public:
CMLua();
~CMLua();
void Reload();
void AddScriptsPath(const char *path);
void LoadScript(const char *name);
static int HookEventObjParam(void *obj, WPARAM wParam, LPARAM lParam, LPARAM param);
};
#endif //_LUA_CORE_H_
|