X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fopenbox.hh;h=76a7d973786d8d9095859eb5d29385dfaa27e39c;hb=9259ec5732851dd66f7c598d629e3808ac7ab3d8;hp=56e31d06b655854d8f6edf2d29d0eb479ea9b473;hpb=ace8c8896aa13a6fc4e489277cf9c96f49175322;p=chaz%2Fopenbox diff --git a/src/openbox.hh b/src/openbox.hh index 56e31d06..76a7d973 100644 --- a/src/openbox.hh +++ b/src/openbox.hh @@ -10,6 +10,7 @@ extern "C" { #include #include "otk/screeninfo.hh" +#include "otk/timer.hh" namespace ob { @@ -28,11 +29,15 @@ public: }; private: + // stuff that can be passed on the command line std::string _rcfilepath; // path to the config file to use/in use std::string _menufilepath; // path to the menu file to use/in use char *_displayreq; // display requested by the user char *_argv0; // argv[0], how the program was called + otk::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 @@ -57,6 +62,8 @@ public: //! Returns the state of the window manager (starting, exiting, etc). inline RunState state() const { return _state; } + inline otk::OBTimerQueueManager *timerManager() { return &_timermanager; } + void eventLoop(); // XXX: TEMPORARY!#!@%*!^#*!#!#!