mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Read-Only Configuration-Database support (#1046)
This commit is contained in:
@@ -21,7 +21,7 @@ public:
|
||||
/// @params instance Instance index of HyperionInstanceManager
|
||||
/// @params parent The parent hyperion instance
|
||||
///
|
||||
SettingsManager(quint8 instance, QObject* parent = nullptr);
|
||||
SettingsManager(quint8 instance, QObject* parent = nullptr, bool readonlyMode = false);
|
||||
|
||||
///
|
||||
/// @brief Save a complete json config
|
||||
@@ -75,4 +75,6 @@ private:
|
||||
|
||||
/// the current config of this instance
|
||||
QJsonObject _qconfig;
|
||||
|
||||
bool _readonlyMode;
|
||||
};
|
||||
|
Reference in New Issue
Block a user