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:
@@ -98,6 +98,8 @@ public:
|
||||
///
|
||||
QString getActiveDeviceType() const;
|
||||
|
||||
bool getReadOnlyMode() {return _readOnlyMode; };
|
||||
|
||||
public slots:
|
||||
|
||||
///
|
||||
@@ -484,7 +486,7 @@ private:
|
||||
/// @brief Constructs the Hyperion instance, just accessible for HyperionIManager
|
||||
/// @param instance The instance index
|
||||
///
|
||||
Hyperion(quint8 instance);
|
||||
Hyperion(quint8 instance, bool readonlyMode = false);
|
||||
|
||||
/// instance index
|
||||
const quint8 _instIndex;
|
||||
@@ -541,4 +543,6 @@ private:
|
||||
|
||||
/// Boblight instance
|
||||
BoblightServer* _boblightServer;
|
||||
|
||||
bool _readOnlyMode;
|
||||
};
|
||||
|
Reference in New Issue
Block a user