summaryrefslogtreecommitdiff
path: root/src/FbTk/EventManager.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/EventManager.hh')
-rw-r--r--src/FbTk/EventManager.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/FbTk/EventManager.hh b/src/FbTk/EventManager.hh
index 97a0dc6..cdec410 100644
--- a/src/FbTk/EventManager.hh
+++ b/src/FbTk/EventManager.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: EventManager.hh,v 1.1 2002/11/27 21:41:13 fluxgen Exp $ 22// $Id: EventManager.hh,v 1.2 2002/12/01 13:42:14 rathnor Exp $
23 23
24#include "EventHandler.hh" 24#include "EventHandler.hh"
25#include <map> 25#include <map>
@@ -27,21 +27,21 @@
27namespace FbTk { 27namespace FbTk {
28 28
29/** 29/**
30 singleton mediator for EventHandlers 30 singleton mediator for EventHandlers
31*/ 31*/
32class EventManager { 32class EventManager {
33public: 33public:
34 static EventManager *instance(); 34 static EventManager *instance();
35 35
36 void handleEvent(XEvent &ev); 36 void handleEvent(XEvent &ev);
37 37
38 void registerEventHandler(EventHandler &ev, Window win); 38 void registerEventHandler(EventHandler &ev, Window win);
39 void unregisterEventHandler(Window win); 39 void unregisterEventHandler(Window win);
40private: 40private:
41 EventManager() { } 41 EventManager() { }
42 ~EventManager(); 42 ~EventManager();
43 43
44 std::map<Window, EventHandler *> m_eventhandlers; 44 std::map<Window, EventHandler *> m_eventhandlers;
45}; 45};
46 46
47}; //end namespace FbTk 47}; //end namespace FbTk