summaryrefslogtreecommitdiff
path: root/core/modules.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2011-03-17 21:39:28 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2011-03-17 21:39:28 +0200
commitc6ceb73febc0f5afcd01341a16dca768d5c627cd (patch)
tree98af5a8032b8d5e9dfa75f78ba92476f26c74bc3 /core/modules.h
parent4c917f2e2a43ea50cd287dd322dda9d08b213b7d (diff)
modified: api/ec_pluginapi.h
modified: core/events.cpp modified: core/events.h modified: core/globals.h modified: core/modules.cpp modified: core/modules.h
Diffstat (limited to 'core/modules.h')
-rw-r--r--core/modules.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules.h b/core/modules.h
index ca61aee..81d2c84 100644
--- a/core/modules.h
+++ b/core/modules.h
@@ -46,6 +46,8 @@ public:
const PLUGININFO *get_plugininfo();
const exported_functions_s *get_exported_functions();
const int get_plugin_id();
+ const std::list<int> get_event_list();
+ int register_event(int);
plugin(ACE_DLL *lib, PLUGININFO *info, exported_functions_s *funcs);
~plugin();
private:
@@ -53,6 +55,7 @@ private:
exported_functions_s *exported_funcs;
PLUGININFO *plugininfo;
int pluginid;
+ std::list<int> events;
};
#endif // MODULE_H_INCLUDED