diff options
| author | aunsane <aunsane@gmail.com> | 2018-05-20 21:10:10 +0300 |
|---|---|---|
| committer | aunsane <aunsane@gmail.com> | 2018-05-20 21:34:31 +0300 |
| commit | a955d18f62f335f84e0926f351eb85d78224cba6 (patch) | |
| tree | 7bd4d30040ec32bba5949dd2245cb68617fb4192 /plugins/MirLua/src/mlua_environment.h | |
| parent | 46363eef857b69761f1d6d28da5a53a954f76900 (diff) | |
MirLua: project reordering
Diffstat (limited to 'plugins/MirLua/src/mlua_environment.h')
| -rw-r--r-- | plugins/MirLua/src/mlua_environment.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/MirLua/src/mlua_environment.h b/plugins/MirLua/src/mlua_environment.h deleted file mode 100644 index aa6ebb103a..0000000000 --- a/plugins/MirLua/src/mlua_environment.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef _LUA_ENVIRONMENT_H_ -#define _LUA_ENVIRONMENT_H_ - -class CMLuaEnvironment -{ -private: - int m_id; - std::map<HANDLE, int> m_hookRefs; - std::map<HANDLE, int> m_serviceRefs; - - void CreateEnvironmentTable(); - -public: - lua_State *L; - - CMLuaEnvironment(lua_State *L); - virtual ~CMLuaEnvironment(); - - static CMLuaEnvironment* GetEnvironment(lua_State *L); - static int GetEnvironmentId(lua_State *L); - - int GetId() const; - - void AddHookRef(HANDLE h, int ref); - void ReleaseHookRef(HANDLE h); - - void AddServiceRef(HANDLE h, int ref); - void ReleaseServiceRef(HANDLE h); - - bool Load(); -}; - -#endif //_LUA_ENVIRONMENT_H_ |
