refs #198, enabled settings context to read / write JSON settings from/to file

This commit is contained in:
Klaus Basan
2014-04-01 12:22:06 +02:00
parent 4a180fc27f
commit fad31aa09a
5 changed files with 178 additions and 30 deletions

View File

@@ -57,6 +57,18 @@ namespace BlackCore
//! \copydoc IContextSettings::value
virtual BlackMisc::CStatusMessageList value(const QString &path, const QString &command, const QVariant &value) override;
//! \copydoc IContextSettings::write
BlackMisc::CStatusMessage write() const override;
//! \brief read settings
virtual BlackMisc::CStatusMessage read() override;
//! \brief settings file name
virtual QString getSettingsFileName() const override;
//! \brief as JSON string
virtual QString getSettingsAsJsonString() const override;
};
}