Save Core settings synchronously and report errors.
[quassel.git] / src / common / settings.h
index 2193864..72dec75 100644 (file)
@@ -83,6 +83,13 @@ public:
      */
     virtual void setVersionMinor(const uint versionMinor);
 
+    /**
+     * Persist unsaved changes to permanent storage
+     *
+     * @return true if succeeded, false otherwise
+     */
+    bool sync();
+
     /**
      * Check if the configuration storage is writable.
      *