summaryrefslogtreecommitdiff
path: root/util/epist/epist.hh
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-08-06 22:37:06 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-08-06 22:37:06 +0000
commit6d40002093a5d8e665d4f310ea028d22e93e88cb (patch)
tree6a537e4ee4625df1b57a651357e913b8ff71a996 /util/epist/epist.hh
parent00391787e32111fa5c9de606b5edf595846e7513 (diff)
Big fat merge for epist.
This adds a config parser, chaining, and a tonne of other stuff. Still need to fix up build system for the lex and yacc stuff.
Diffstat (limited to 'util/epist/epist.hh')
-rw-r--r--util/epist/epist.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/util/epist/epist.hh b/util/epist/epist.hh
index 1932902d..37b1d5b8 100644
--- a/util/epist/epist.hh
+++ b/util/epist/epist.hh
@@ -32,6 +32,7 @@ extern "C" {
#include "actions.hh"
#include "window.hh"
+#include "keytree.hh"
#include "../../src/BaseDisplay.hh"
@@ -43,6 +44,7 @@ private:
std::string _rc_file;
XAtom *_xatom;
char **_argv;
+ keytree *_ktree;
typedef std::vector<screen *> ScreenList;
ScreenList _screens;
@@ -60,10 +62,6 @@ private:
virtual bool handleSignal(int sig);
void activateGrabs();
- void addAction(Action::ActionType act, unsigned int modifiers,
- std::string key, int number = 0);
- void addAction(Action::ActionType act, unsigned int modifiers,
- std::string key, std::string str);
public:
epist(char **argv, char *display_name, char *rc_file);
@@ -83,6 +81,7 @@ public:
}
const ActionList &actions(void) { return _actions; }
+ keytree &getKeyTree(void) { return *_ktree; }
WindowList& clientsList() { return _clients; }
WindowList::iterator& activeWindow() { return _active; }