// -*- mode: C++; indent-tabs-mode: nil; -*-
-// epist.hh for Epistory - a key handler for NETWM/EWMH window managers.
+// epist.hh for Epistophy - a key handler for NETWM/EWMH window managers.
// Copyright (c) 2002 - 2002 Ben Jansens <ben at orodu.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a
#include <string>
#include <map>
+#include <actions.hh>
+
#include "../../src/BaseDisplay.hh"
class XAtom;
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();
void addWindow(XWindow *window);
void removeWindow(XWindow *window);
XWindow *findWindow(Window window) const;
+
+ const ActionList &actions(void) { return _actions; }
};
#endif // __epist_hh