diff options
author | Konstantin <apollo2k4@narod.ru> | 2018-05-20 21:05:22 +0300 |
---|---|---|
committer | Konstantin <apollo2k4@narod.ru> | 2018-05-20 21:05:22 +0300 |
commit | 3f90207479ee0a6530631812717801a54093658c (patch) | |
tree | 6fd49e050ec5179df59fc5badc18e5668e0d6008 /plugins/MirLua/src/mlua_environment.h | |
parent | 7d6b89fd45814936d0edeff664bf5efb2d19b875 (diff) | |
parent | 5de8252e58fbdbebb8914e99a90bec06a0ff039f (diff) |
Merge branch 'master' of https://github.com/miranda-ng/miranda-ng
Diffstat (limited to 'plugins/MirLua/src/mlua_environment.h')
-rw-r--r-- | plugins/MirLua/src/mlua_environment.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/MirLua/src/mlua_environment.h b/plugins/MirLua/src/mlua_environment.h index aa6ebb103a..3d6b6382fb 100644 --- a/plugins/MirLua/src/mlua_environment.h +++ b/plugins/MirLua/src/mlua_environment.h @@ -1,10 +1,8 @@ -#ifndef _LUA_ENVIRONMENT_H_ -#define _LUA_ENVIRONMENT_H_ +#pragma once -class CMLuaEnvironment +class CMLuaEnvironment : public CMPluginBase { private: - int m_id; std::map<HANDLE, int> m_hookRefs; std::map<HANDLE, int> m_serviceRefs; @@ -19,8 +17,6 @@ public: 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); @@ -29,5 +25,3 @@ public: bool Load(); }; - -#endif //_LUA_ENVIRONMENT_H_ |