X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsettings.h;h=36576058a3d84fff45495b08808ad8f5fad85fa7;hb=6de2be92eff20e0c3d2e4a6350315b23061f675e;hp=219386435df5a94fdb80fc3d3ec2a1bf28e9da74;hpb=424eddc71def51d22ec9f19d6a57c06af0d25295;p=quassel.git diff --git a/src/common/settings.h b/src/common/settings.h index 21938643..36576058 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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. *