mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Hyperion Light 2 (#1428)
* Hyperion Light - Have EffectEngine as component * Hyperion light - Build switches for LED Devices (Serial, Network) * Fix file uri generation * Fix missing guard for Windows * Fix file uri generation * Update jsonschema and checkschema * Allow to provide cmake build args to docker build
This commit is contained in:
@@ -8,18 +8,17 @@
|
||||
#include <effectengine/EffectModule.h>
|
||||
#include <utils/Logger.h>
|
||||
#include <hyperion/Hyperion.h>
|
||||
#include <hyperion/PriorityMuxer.h>
|
||||
|
||||
// python utils
|
||||
#include <python/PythonProgram.h>
|
||||
|
||||
const int Effect::ENDLESS = -1;
|
||||
|
||||
Effect::Effect(Hyperion *hyperion, int priority, int timeout, const QString &script, const QString &name, const QJsonObject &args, const QString &imageData)
|
||||
: QThread()
|
||||
, _hyperion(hyperion)
|
||||
, _priority(priority)
|
||||
, _timeout(timeout)
|
||||
, _isEndless(timeout <= ENDLESS)
|
||||
, _isEndless(timeout <= PriorityMuxer::ENDLESS)
|
||||
, _script(script)
|
||||
, _name(name)
|
||||
, _args(args)
|
||||
|
Reference in New Issue
Block a user