mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
i18n corrected
libqt5sql5-sqlite appended to the dependency list lgtm alerts fixed added message forwarder to global settings subscribe type leds-update appended (thanks @Brindosch) Boblight server port check instead of error message Race Condition of different priorities are prevented at startup Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
@@ -510,8 +510,8 @@ private:
|
||||
/// Effect engine
|
||||
EffectEngine * _effectEngine;
|
||||
|
||||
// // Message forwarder
|
||||
// MessageForwarder * _messageForwarder;
|
||||
// Message forwarder
|
||||
MessageForwarder * _messageForwarder;
|
||||
|
||||
/// Logger instance
|
||||
Logger * _log;
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
/// @param block If true return when thread has been started
|
||||
/// @return Return true on success, false if not found in db
|
||||
///
|
||||
const bool startInstance(const quint8& inst, const bool& block = false);
|
||||
bool startInstance(const quint8& inst, const bool& block = false);
|
||||
|
||||
///
|
||||
/// @brief Stop a Hyperion instance
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
/// @param block If true return when thread has been started
|
||||
/// @return Return true on success, false if not found in db
|
||||
///
|
||||
const bool stopInstance(const quint8& inst, const bool& block = false);
|
||||
bool stopInstance(const quint8& inst, const bool& block = false);
|
||||
|
||||
///
|
||||
/// @brief Create a new Hyperion instance entry in db
|
||||
@@ -73,14 +73,14 @@ public:
|
||||
/// @param start If true it will be started after creation (async)
|
||||
/// @return Return true on success false if name is already in use or a db error occurred
|
||||
///
|
||||
const bool createInstance(const QString& name, const bool& start = false);
|
||||
bool createInstance(const QString& name, const bool& start = false);
|
||||
|
||||
///
|
||||
/// @brief Delete Hyperion instance entry in db. Cleanup also all associated table data for this instance
|
||||
/// @param inst The instance index
|
||||
/// @return Return true on success, false if not found or not allowed
|
||||
///
|
||||
const bool deleteInstance(const quint8& inst);
|
||||
bool deleteInstance(const quint8& inst);
|
||||
|
||||
///
|
||||
/// @brief Assign a new name to the given instance
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
/// @param name The instance name index
|
||||
/// @return Return true on success, false if not found
|
||||
///
|
||||
const bool saveName(const quint8& inst, const QString& name);
|
||||
bool saveName(const quint8& inst, const QString& name);
|
||||
|
||||
signals:
|
||||
///
|
||||
@@ -166,7 +166,7 @@ private:
|
||||
/// @brief check if a instance is allowed for management. Instance 0 represents the root instance
|
||||
/// @apram inst The instance to check
|
||||
///
|
||||
const bool isInstAllowed(const quint8& inst) { return (inst > 0); };
|
||||
bool isInstAllowed(const quint8& inst) { return (inst > 0); };
|
||||
|
||||
private:
|
||||
Logger* _log;
|
||||
|
Reference in New Issue
Block a user