X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.h;h=3e3d1ef2e9e46c886e68fe20db0795e856fff0d9;hb=67e5cb217e62e61928a7c399148f7d4a0bcfee0b;hp=6f23e035d98e2fa1b839139840ac1bff0b4790f7;hpb=dfc5f034581f5a26cba5c4811500438f89f0634a;p=chaz%2Fopenbox diff --git a/src/openbox.h b/src/openbox.h index 6f23e035..3e3d1ef2 100644 --- a/src/openbox.h +++ b/src/openbox.h @@ -41,7 +41,7 @@ # endif // HAVE_SYS_TIME_H #endif // TIME_WITH_SYS_TIME - +#include "Resource.h" #include "LinkedList.h" #include "BaseDisplay.h" #include "Timer.h" @@ -115,6 +115,7 @@ private: Window masked; char *rc_file, **argv; int argc; + obResource config; protected: @@ -144,6 +145,9 @@ public: BScreen *getScreen(int); BScreen *searchScreen(Window); + inline obResource &getConfig() { + return config; + } inline const Time &getDoubleClickInterval(void) const { return resource.double_click_interval; } inline const Time &getLastTime(void) const { return last_time; }