mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #198, enabled settings context to read / write JSON settings from/to file
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user