mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: API split (#721)
* refactor: API split * refactor: cleanup hyperiond
This commit is contained in:
@@ -41,19 +41,17 @@ public:
|
||||
|
||||
///
|
||||
/// @brief Save an effect with EffectFileHandler
|
||||
/// @param obj The effect args
|
||||
/// @param[out] resultMsg The feedback message
|
||||
/// @return True on success else false
|
||||
/// @param obj The effect args
|
||||
/// @return If not empty, it contains the error
|
||||
///
|
||||
bool saveEffect(const QJsonObject& obj, QString& resultMsg);
|
||||
QString saveEffect(const QJsonObject& obj);
|
||||
|
||||
///
|
||||
/// @brief Delete an effect by name.
|
||||
/// @param[in] effectName The effect name to delete
|
||||
/// @param[out] resultMsg The message on error
|
||||
/// @return True on success else false
|
||||
/// @param effectName The effect name to delete
|
||||
/// @return If not empty, it contains the error
|
||||
///
|
||||
bool deleteEffect(const QString& effectName, QString& resultMsg);
|
||||
QString deleteEffect(const QString& effectName);
|
||||
|
||||
///
|
||||
/// @brief Get all init data of the running effects and stop them
|
||||
|
@@ -29,19 +29,17 @@ public:
|
||||
|
||||
///
|
||||
/// @brief Save an effect
|
||||
/// @param obj The effect args
|
||||
/// @param[out] resultMsg The feedback message
|
||||
/// @return True on success else false
|
||||
/// @param obj The effect args
|
||||
/// @return If not empty, it contains the error
|
||||
///
|
||||
bool saveEffect(const QJsonObject& obj, QString& resultMsg);
|
||||
QString saveEffect(const QJsonObject& obj);
|
||||
|
||||
///
|
||||
/// @brief Delete an effect by name.
|
||||
/// @param[in] effectName The effect name to delete
|
||||
/// @param[out] resultMsg The message on error
|
||||
/// @return True on success else false
|
||||
/// @param effectName The effect name to delete
|
||||
/// @return If not empty, it contains the error
|
||||
///
|
||||
bool deleteEffect(const QString& effectName, QString& resultMsg);
|
||||
QString deleteEffect(const QString& effectName);
|
||||
|
||||
public slots:
|
||||
///
|
||||
|
Reference in New Issue
Block a user