]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.h
renamed the obResource class to Resource.
[chaz/openbox] / src / openbox.h
index 6f23e035d98e2fa1b839139840ac1bff0b4790f7..7881d6020d0da03acaa439c13399919252c55322 100644 (file)
@@ -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;
+  Resource config;
 
 
 protected:
@@ -144,6 +145,9 @@ public:
   BScreen *getScreen(int);
   BScreen *searchScreen(Window);
 
+  inline Resource &getConfig() {
+    return config;
+  }
   inline const Time &getDoubleClickInterval(void) const
     { return resource.double_click_interval; }
   inline const Time &getLastTime(void) const { return last_time; }
This page took 0.022039 seconds and 4 git commands to generate.