diff options
author | fluxgen <fluxgen> | 2002-12-02 19:36:58 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-12-02 19:36:58 (GMT) |
commit | 2045fcca4913f47dd68f86c4f0660927c74e3e00 (patch) | |
tree | 1b8028e1032f199e5f41a776712fc6a694c716c1 /src | |
parent | c8aff5576a187f3921a0db998cd5a47173b28742 (diff) | |
download | fluxbox_paul-2045fcca4913f47dd68f86c4f0660927c74e3e00.zip fluxbox_paul-2045fcca4913f47dd68f86c4f0660927c74e3e00.tar.bz2 |
add and remove functions
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/EventManager.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/EventManager.hh b/src/FbTk/EventManager.hh index cdec410..39883b3 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.2 2002/12/01 13:42:14 rathnor Exp $ | 22 | // $Id: EventManager.hh,v 1.3 2002/12/02 19:36:58 fluxgen Exp $ |
23 | 23 | ||
24 | #include "EventHandler.hh" | 24 | #include "EventHandler.hh" |
25 | #include <map> | 25 | #include <map> |
@@ -34,7 +34,8 @@ public: | |||
34 | static EventManager *instance(); | 34 | static EventManager *instance(); |
35 | 35 | ||
36 | void handleEvent(XEvent &ev); | 36 | void handleEvent(XEvent &ev); |
37 | 37 | void add(EventHandler &ev, Window win) { registerEventHandler(ev, win); } | |
38 | void remove(Window win) { unregisterEventHandler(win); } | ||
38 | void registerEventHandler(EventHandler &ev, Window win); | 39 | void registerEventHandler(EventHandler &ev, Window win); |
39 | void unregisterEventHandler(Window win); | 40 | void unregisterEventHandler(Window win); |
40 | private: | 41 | private: |