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 --- src/AtomReader.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/AtomReader.cpp') diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp index 9f0119d5..98847b73 100644 --- a/src/AtomReader.cpp +++ b/src/AtomReader.cpp @@ -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 @@ -158,6 +158,10 @@ AtomReader::write(const LV2_Atom* msg) if (subject_uri && !body) { _iface.del(*subject_uri); return true; + } else if (obj->body.otype == _uris.ingen_BundleStart) { + _iface.bundle_begin(); + } else if (obj->body.otype == _uris.ingen_BundleEnd) { + _iface.bundle_end(); } else if (body && body->body.otype == _uris.ingen_Arc) { const LV2_Atom* tail = NULL; const LV2_Atom* head = NULL; -- cgit v1.2.1