summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
blob: f98d8f0d4e06fd30eb3c85bb0a757ae83a6a1150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _LUA_CORE_H_
#define _LUA_CORE_H_

class CMLua
{
private:
	lua_State *L;
	HANDLE hLogger;
	CMLuaConsole *console;

	void Load();
	void Unload();

public:
	CMLua();
	~CMLua();

	void Reload();

	static int HookEventObjParam(void *obj, WPARAM wParam, LPARAM lParam, LPARAM param);
};

#endif //_LUA_CORE_H_