X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fepist.hh;h=37b1d5b8adf52d6d7648c4feef5b46df8beeddd3;hb=6d40002093a5d8e665d4f310ea028d22e93e88cb;hp=1932902db45918bec99c83ac61fc9a5f9f892c71;hpb=28594da6de001f1d8b6b975286032302db3a6491;p=chaz%2Fopenbox 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 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; }