From c8ae7295e911c62cf9dedf90187656937cc18cbb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Jul 2016 13:10:13 -0400 Subject: Add undo support --- ingen/AtomWriter.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ingen/AtomWriter.hpp') diff --git a/ingen/AtomWriter.hpp b/ingen/AtomWriter.hpp index 6ae6bdbc..9ea5fa27 100644 --- a/ingen/AtomWriter.hpp +++ b/ingen/AtomWriter.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard + Copyright 2007-2016 David Robillard 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 @@ -35,7 +35,8 @@ class INGEN_API AtomWriter : public Interface { public: AtomWriter(URIMap& map, URIs& uris, AtomSink& sink); - ~AtomWriter() {} + + ~AtomWriter(); Raul::URI uri() const { return Raul::URI("ingen:/clients/atom_writer"); @@ -74,6 +75,10 @@ public: const Raul::URI& predicate, const Atom& value); + void undo(); + + void redo(); + void set_response_id(int32_t id); void get(const Raul::URI& uri); -- cgit v1.2.1