Mercurial > fife-parpg
comparison engine/core/eventchannel/trigger/ec_trigger.i @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | 90005975cdbb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "eventchannel/trigger/ec_trigger.h" | |
4 %} | |
5 | |
6 %include "ec_trigger.i" | |
7 %include "ec_itriggercontroller.i" | |
8 %include "ec_itriggerlistener.i" | |
9 | |
10 namespace FIFE { | |
11 | |
12 class Trigger : public ITriggerController { | |
13 | |
14 public: | |
15 | |
16 Trigger(ITriggerListener& listener); | |
17 | |
18 void registerTrigger(Trigger& trigger); | |
19 | |
20 void unregisterTrigger(Trigger& trigger); | |
21 | |
22 void registerListener(ITriggerListener& triggerlistener); | |
23 | |
24 void unregisterListener(ITriggerListener& triggerlistener); | |
25 }; | |
26 } |