summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/AllNotesOffEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/AllNotesOffEvent.hpp')
-rw-r--r--src/libs/engine/events/AllNotesOffEvent.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/events/AllNotesOffEvent.hpp b/src/libs/engine/events/AllNotesOffEvent.hpp
index 4c2a9309..3e4d56b3 100644
--- a/src/libs/engine/events/AllNotesOffEvent.hpp
+++ b/src/libs/engine/events/AllNotesOffEvent.hpp
@@ -24,7 +24,7 @@ using std::string;
namespace Ingen {
-class Patch;
+class PatchImpl;
/** A note off event for all active voices.
@@ -34,15 +34,15 @@ class Patch;
class AllNotesOffEvent : public Event
{
public:
- AllNotesOffEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, Patch* patch);
+ AllNotesOffEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, PatchImpl* patch);
AllNotesOffEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& patch_path);
void execute(ProcessContext& context);
void post_process();
private:
- Patch* _patch;
- string _patch_path;
+ const string _patch_path;
+ PatchImpl* _patch;
};