From f4401c59284258c6aa56707da64e3da32756329f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 Jun 2010 20:14:07 +0000 Subject: midway snapshot of work done on managing Region & Source lifetimes correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source git-svn-id: svn://localhost/ardour2/branches/3.0@7291 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/pbd/pbd/properties.h') diff --git a/libs/pbd/pbd/properties.h b/libs/pbd/pbd/properties.h index 784282ee9c..1914344db9 100644 --- a/libs/pbd/pbd/properties.h +++ b/libs/pbd/pbd/properties.h @@ -165,7 +165,7 @@ public: : PropertyTemplate (q, v) {} - void diff (PropertyList& undo, PropertyList& redo) const { + void diff (PropertyList& undo, PropertyList& redo, Command* /*ignored*/) const { if (this->_have_old) { undo.add (new Property (this->property_id(), this->_old)); redo.add (new Property (this->property_id(), this->_current)); @@ -227,7 +227,7 @@ public: : PropertyTemplate (q, v) {} - void diff (PropertyList& before, PropertyList& after) const { + void diff (PropertyList& before, PropertyList& after, Command* /*ignored*/) const { if (this->_have_old) { before.add (new Property (PropertyDescriptor (this->property_id()), this->_old)); after.add (new Property (PropertyDescriptor (this->property_id()), this->_current)); -- cgit v1.2.3