From f586e55a8cd3d740a1b7b3a0801bad27030926f9 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Fri, 19 Jul 2002 13:11:27 +0000 Subject: Added an action class and started the even handler. --- util/epist/epist.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/epist/epist.hh') 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 #include +#include + #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 actions(void) { return _actions; } }; #endif // __epist_hh -- cgit v1.2.3