Add removeRaw, create default JSON::Object in default ctor, trigger events when enabled.

This commit is contained in:
Franky Braem
2012-07-04 20:51:24 +00:00
parent 2f36abaa6d
commit b521d97102
2 changed files with 60 additions and 11 deletions

View File

@@ -113,15 +113,20 @@ public:
/// Saves the configuration to the given stream
void setInt(const std::string& key, int value);
virtual void setInt(const std::string& key, int value);
void setBool(const std::string& key, bool value);
virtual void setBool(const std::string& key, bool value);
void setDouble(const std::string& key, double value);
virtual void setDouble(const std::string& key, double value);
virtual void setString(const std::string& key, const std::string& value);
virtual void removeRaw(const std::string& key);
protected: