refs #450 Make disk file saving and loading available in core settings.

This commit is contained in:
Mathew Sutcliffe
2015-09-05 16:50:49 +01:00
parent 54bc3f265a
commit f872186866
7 changed files with 66 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);
//! Save core settings to disk
virtual BlackMisc::CStatusMessage saveSettings(const QString &keyPrefix = {}) = 0;
//! Load core settings from disk
virtual BlackMisc::CStatusMessage loadSettings() = 0;
//! Register hotkey action implemented by another process
//! \note Not pure because it can be called from the base class constructor.
//! \note This is the function which relays action registrations via DBus