]> Dogcows Code - chaz/openbox/blobdiff - src/Resource.h
made bsetroot compile with the new code for references instead of pointers
[chaz/openbox] / src / Resource.h
index da9a4d5cf4b6be01a75ce54d7030a50948d2005b..912ae75377b725604159f51789799dbfbf89be9f 100644 (file)
@@ -33,7 +33,6 @@ public:
   obResource();
   virtual ~obResource();
 
-  // an empty string will cause an assert if load() or save() is called
   inline const std::string &file() const {
     return static_cast<const std::string &>(m_file);
   }
@@ -53,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);
@@ -65,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.020485 seconds and 4 git commands to generate.