mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added the possibility for scripts to have an argument string
Former-commit-id: 7c5cec34be56d926edda1c9955dc57de838622f9
This commit is contained in:
@@ -26,13 +26,20 @@ public slots:
|
||||
/// Clear all effects
|
||||
void allChannelsCleared();
|
||||
|
||||
public:
|
||||
struct EffectDefinition
|
||||
{
|
||||
std::string script;
|
||||
std::string args;
|
||||
};
|
||||
|
||||
private slots:
|
||||
void effectFinished(Effect * effect);
|
||||
|
||||
private:
|
||||
Hyperion * _hyperion;
|
||||
|
||||
std::map<std::string, std::string> _availableEffects;
|
||||
std::map<std::string, EffectDefinition> _availableEffects;
|
||||
|
||||
std::list<Effect *> _activeEffects;
|
||||
|
||||
|
Reference in New Issue
Block a user