From 3c00a7ca2ae34cb65c8d3394d9a012f20c69ee77 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 Feb 2010 01:38:20 +0000 Subject: Move ARDOUR::Change into PBD so that Stateful can be aware of what Change a State reflects. Hence allow Stateful to do some of the work of set/get_state in Region. git-svn-id: svn://localhost/ardour2/branches/3.0@6671 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/ardour.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libs/ardour/ardour/ardour.h') diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h index e98d85c433..a7b3bcafd0 100644 --- a/libs/ardour/ardour/ardour.h +++ b/libs/ardour/ardour/ardour.h @@ -31,6 +31,7 @@ #include "pbd/error.h" #include "pbd/failed_constructor.h" #include "pbd/locale_guard.h" +#include "pbd/stateful.h" #include "ardour/types.h" @@ -64,13 +65,11 @@ namespace ARDOUR { return (microseconds_t) jack_get_time(); } - Change new_change (); - - extern Change StartChanged; - extern Change LengthChanged; - extern Change PositionChanged; - extern Change NameChanged; - extern Change BoundsChanged; + extern PBD::Change StartChanged; + extern PBD::Change LengthChanged; + extern PBD::Change PositionChanged; + extern PBD::Change NameChanged; + extern PBD::Change BoundsChanged; static const double SHUTTLE_FRACT_SPEED1=0.48412291827; /* derived from A1,A2 */ -- cgit v1.2.3