diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-03 12:48:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-03 12:48:10 +0000 |
| commit | 373de009f7e98b0c6f3a78f31c1e5c120cd722ed (patch) | |
| tree | a3aaa153b9704083a6bcfd07732c27d3e204c5b5 /src/openbox.hh | |
| parent | c5f62494f14629797c109acc0b3048203a1adb6a (diff) | |
new timers, timer manager
Diffstat (limited to 'src/openbox.hh')
| -rw-r--r-- | src/openbox.hh | 6 |
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!#!@%*!^#*!#!#! |
