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/Move.hpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/server/events/Move.hpp') diff --git a/src/server/events/Move.hpp b/src/server/events/Move.hpp index c45c73aa..4e17033a 100644 --- a/src/server/events/Move.hpp +++ b/src/server/events/Move.hpp @@ -36,12 +36,10 @@ namespace Events { class Move : public Event { public: - Move(Engine& engine, - SPtr client, - int32_t id, - SampleCount timestamp, - const Raul::Path& old_path, - const Raul::Path& new_path); + Move(Engine& engine, + SPtr client, + SampleCount timestamp, + const Ingen::Move& msg); ~Move(); @@ -51,8 +49,7 @@ public: void undo(Interface& target); private: - const Raul::Path _old_path; - const Raul::Path _new_path; + const Ingen::Move _msg; }; } // namespace Events -- cgit v1.2.1