]> Dogcows Code - chaz/openbox/blobdiff - src/Resource.h
accidently removed a line somehow. OpaqueMove is now read from the rc file.
[chaz/openbox] / src / Resource.h
index 253c09ee876097516df4793ae6fbb17f9b314ee0..726755f385d2aa5f8cf12e94871c07f75a250a3e 100644 (file)
 #include <X11/Xlib.h>
 #include <X11/Xresource.h>
 
-class obResource {
+class Resource {
 public:
-  obResource(const std::string &file);
-  obResource();
-  virtual ~obResource();
+  Resource(const std::string &file);
+  Resource();
+  virtual ~Resource();
 
   inline const std::string &file() const {
     return static_cast<const std::string &>(m_file);
@@ -52,6 +52,7 @@ public:
   bool load();
 
   void setValue(const std::string &rname, bool value);
+  void setValue(const std::string &rname, int value);
   void setValue(const std::string &rname, long value);
   void setValue(const std::string &rname, const std::string &value);
   void setValue(const std::string &rname, const char *value);
@@ -64,6 +65,7 @@ public:
                 std::string &value) const;
 
 private:
+  static bool m_initialized;
   std::string m_file;
   bool m_modified;
   bool m_autosave;
This page took 0.024264 seconds and 4 git commands to generate.