diff options
Diffstat (limited to 'src/libs/engine/events/EnablePatchEvent.hpp')
-rw-r--r-- | src/libs/engine/events/EnablePatchEvent.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/engine/events/EnablePatchEvent.hpp b/src/libs/engine/events/EnablePatchEvent.hpp index f0ba5714..a5d7d7e7 100644 --- a/src/libs/engine/events/EnablePatchEvent.hpp +++ b/src/libs/engine/events/EnablePatchEvent.hpp @@ -39,7 +39,11 @@ class CompiledPatch; class EnablePatchEvent : public QueuedEvent { public: - EnablePatchEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& patch_path); + EnablePatchEvent(Engine& engine, + SharedPtr<Responder> responder, + SampleCount timestamp, + const string& patch_path, + bool enable); void pre_process(); void execute(ProcessContext& context); @@ -49,6 +53,7 @@ private: string _patch_path; Patch* _patch; CompiledPatch* _compiled_patch; // Patch's new process order + bool _enable; }; |