diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/FbTk/EventManager.hh | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox_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.hh | 18 |
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 @@ | |||
27 | namespace FbTk { | 27 | namespace FbTk { |
28 | 28 | ||
29 | /** | 29 | /** |
30 | singleton mediator for EventHandlers | 30 | singleton mediator for EventHandlers |
31 | */ | 31 | */ |
32 | class EventManager { | 32 | class EventManager { |
33 | public: | 33 | public: |
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); |
40 | private: | 40 | private: |
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 |