mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Details coming soon.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
// pre-declarioation
|
||||
class Effect;
|
||||
typedef struct _ts PyThreadState;
|
||||
|
||||
class EffectEngine : public QObject
|
||||
{
|
||||
@@ -43,6 +42,20 @@ public:
|
||||
return _effectSchemas;
|
||||
};
|
||||
|
||||
///
|
||||
/// @brief Get all init data of the running effects and stop them
|
||||
///
|
||||
void cacheRunningEffects();
|
||||
|
||||
///
|
||||
/// @brief Start all cached effects, origin and smooth cfg is default
|
||||
///
|
||||
void startCachedEffects();
|
||||
|
||||
signals:
|
||||
/// Emit when the effect list has been updated
|
||||
void effectListUpdated();
|
||||
|
||||
public slots:
|
||||
/// Run the specified effect on the given priority channel and optionally specify a timeout
|
||||
int runEffect(const QString &effectName, int priority, int timeout = -1, const QString &origin="System");
|
||||
@@ -78,9 +91,9 @@ private:
|
||||
|
||||
std::list<ActiveEffectDefinition> _availableActiveEffects;
|
||||
|
||||
std::list<ActiveEffectDefinition> _cachedActiveEffects;
|
||||
|
||||
std::list<EffectSchema> _effectSchemas;
|
||||
|
||||
Logger * _log;
|
||||
|
||||
PyThreadState* _mainThreadState;
|
||||
};
|
||||
|
Reference in New Issue
Block a user