summaryrefslogtreecommitdiffstats
path: root/src/server/events/Delta.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Delta.hpp')
-rw-r--r--src/server/events/Delta.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp
index e9d1970b..b1f2d66a 100644
--- a/src/server/events/Delta.hpp
+++ b/src/server/events/Delta.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
@@ -76,6 +76,7 @@ public:
bool pre_process();
void execute(ProcessContext& context);
void post_process();
+ void undo(Interface& target);
private:
enum class SpecialType {
@@ -107,6 +108,9 @@ private:
ControlBindings::Key _binding;
Type _type;
+ Resource::Properties _added;
+ Resource::Properties _removed;
+
SPtr<ControlBindings::Bindings> _old_bindings;
boost::optional<Resource> _preset;