summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index 96cb2158..4649f7a9 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -10,6 +10,7 @@ extern "C" {
#include <vector>
#include "otk/screeninfo.hh"
+#include "timer.hh"
namespace ob {
@@ -34,6 +35,9 @@ private:
char *_displayreq; // display requested by the user
char *_argv0; // argv[0], how the program was called
+ OBTimerQueueManager _timermanager; // manages timers, so that they fire when
+ // their time elapses
+
RunState _state; // the state of the window manager
ScreenInfoList _screenInfoList; // info for all screens on the display
@@ -58,6 +62,8 @@ public:
//! Returns the state of the window manager (starting, exiting, etc).
inline RunState state() const { return _state; }
+ inline OBTimerQueueManager *timerManager() { return &_timermanager; }
+
void eventLoop();
// XXX: TEMPORARY!#!@%*!^#*!#!#!