refs #450 When GUI connects to core, it needs to have all current core settings inserted into its core settings cache.

This commit is contained in:
Mathew Sutcliffe
2015-09-05 16:52:13 +01:00
parent af3775c8ea
commit e457e088a7
6 changed files with 42 additions and 0 deletions

View File

@@ -104,6 +104,12 @@ namespace BlackCore
//! \note This is the function which relays cache changes via DBus.
virtual void changeSettings(const BlackMisc::CVariantMap &settings, const BlackMisc::CIdentifier &origin);
//! Get all settings currently in core settings cache
virtual BlackMisc::CVariantMap getAllSettings() const = 0;
//! Update local settings with settings from core
virtual void synchronizeLocalSettings() = 0;
//! Save core settings to disk
virtual BlackMisc::CStatusMessage saveSettings(const QString &keyPrefix = {}) = 0;