diff options
Diffstat (limited to 'src/server/events/Disconnect.hpp')
-rw-r--r-- | src/server/events/Disconnect.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/events/Disconnect.hpp b/src/server/events/Disconnect.hpp index 64e08246..8a69dac4 100644 --- a/src/server/events/Disconnect.hpp +++ b/src/server/events/Disconnect.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2016 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -57,6 +57,7 @@ public: bool pre_process(); void execute(ProcessContext& context); void post_process(); + void undo(Interface& target); class Impl { public: @@ -67,7 +68,8 @@ public: bool execute(ProcessContext& context, bool set_head_buffers); - inline InputPort* head() { return _head; } + inline OutputPort* tail() { return _tail; } + inline InputPort* head() { return _head; } private: Engine& _engine; |