// -*- mode: C++; indent-tabs-mode: nil; -*-
-// epist.hh for Epistophy - a key handler for NETWM/EWMH window managers.
+// epist.hh for Epistrophy - 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 "actions.hh"
#include "window.hh"
+#include "keytree.hh"
#include "../../src/BaseDisplay.hh"
std::string _rc_file;
XAtom *_xatom;
char **_argv;
+ keytree *_ktree;
typedef std::vector<screen *> ScreenList;
ScreenList _screens;
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);
}
const ActionList &actions(void) { return _actions; }
+ keytree &getKeyTree(void) { return *_ktree; }
WindowList& clientsList() { return _clients; }
WindowList::iterator& activeWindow() { return _active; }