aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/EventManager.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/FbTk/EventManager.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
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