From af51373cadb57d8b31ccb3c359e7c80d8f697487 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Dec 2017 23:47:08 +0100 Subject: Make events take the corresponding message directly --- src/server/events/Connect.hpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/server/events/Connect.hpp') diff --git a/src/server/events/Connect.hpp b/src/server/events/Connect.hpp index 2493e899..8a42b984 100644 --- a/src/server/events/Connect.hpp +++ b/src/server/events/Connect.hpp @@ -44,12 +44,10 @@ namespace Events { class Connect : public Event { public: - Connect(Engine& engine, - SPtr client, - int32_t id, - SampleCount timestamp, - const Raul::Path& tail, - const Raul::Path& head); + Connect(Engine& engine, + SPtr client, + SampleCount timestamp, + const Ingen::Connect& msg); bool pre_process(PreProcessContext& ctx); void execute(RunContext& context); @@ -57,8 +55,7 @@ public: void undo(Interface& target); private: - const Raul::Path _tail_path; - const Raul::Path _head_path; + const Ingen::Connect _msg; GraphImpl* _graph; InputPort* _head; MPtr _compiled_graph; -- cgit v1.2.1