Imported Upstream version 1.2.99~20120606~SE~ff65aef~SYSYNC~2728cb4
[platform/upstream/syncevolution.git] / src / syncevo / SafeConfigNode.h
index 1297ff8..818f504 100644 (file)
@@ -63,11 +63,10 @@ class SafeConfigNode : public ConfigNode {
 
     /* ConfigNode API */
     virtual void flush();
-    virtual std::string readProperty(const std::string &property) const;
-    virtual void setProperty(const std::string &property,
-                             const std::string &value,
-                             const std::string &comment = "",
-                             const std::string *defValue = NULL);
+    virtual InitStateString readProperty(const std::string &property) const;
+    virtual void writeProperty(const std::string &property,
+                               const InitStateString &value,
+                               const std::string &comment = "");
     virtual void readProperties(ConfigProps &props) const;
     virtual void removeProperty(const std::string &property);
     virtual bool exists() const { return m_readOnlyNode->exists(); }