diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-07-19 13:11:27 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-07-19 13:11:27 +0000 |
| commit | f586e55a8cd3d740a1b7b3a0801bad27030926f9 (patch) | |
| tree | d9a6889fbb1f4088af2b56b3ddc0934acd7f2a26 /util/epist/epist.hh | |
| parent | 0326ac961fb82d8d7aab22e4da1859adeeceb2f7 (diff) | |
Added an action class and started the even handler.
Diffstat (limited to 'util/epist/epist.hh')
| -rw-r--r-- | util/epist/epist.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/epist/epist.hh b/util/epist/epist.hh index 061e1f4d..755fec8c 100644 --- a/util/epist/epist.hh +++ b/util/epist/epist.hh @@ -30,6 +30,8 @@ extern "C" { #include <string> #include <map> +#include <actions.hh> + #include "../../src/BaseDisplay.hh" class XAtom; @@ -49,9 +51,12 @@ private: typedef WindowLookup::value_type WindowLookupPair; WindowLookup _windows; + ActionList _actions; + virtual void process_event(XEvent *e); virtual bool handleSignal(int sig); + void activateGrabs(); public: epist(char **argv, char *display_name, char *rc_file); virtual ~epist(); @@ -61,6 +66,8 @@ public: void addWindow(XWindow *window); void removeWindow(XWindow *window); XWindow *findWindow(Window window) const; + + list<Action> actions(void) { return _actions; } }; #endif // __epist_hh |
