summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_environment.h')
-rw-r--r--plugins/MirLua/src/mlua_environment.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_environment.h b/plugins/MirLua/src/mlua_environment.h
index eb72bf42b8..aa6ebb103a 100644
--- a/plugins/MirLua/src/mlua_environment.h
+++ b/plugins/MirLua/src/mlua_environment.h
@@ -4,7 +4,9 @@
class CMLuaEnvironment
{
private:
- int id;
+ int m_id;
+ std::map<HANDLE, int> m_hookRefs;
+ std::map<HANDLE, int> m_serviceRefs;
void CreateEnvironmentTable();
@@ -19,6 +21,12 @@ public:
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();
};