diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-10 01:38:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-10 01:38:20 +0000 |
commit | 3c00a7ca2ae34cb65c8d3394d9a012f20c69ee77 (patch) | |
tree | 54257f7655152fab7fbe97a75ce24faf15485d49 /libs/ardour/ardour/ardour.h | |
parent | c9d433d9b3f166e761bfc1b4765cc51b0a521e7d (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/ardour.h')
-rw-r--r-- | libs/ardour/ardour/ardour.h | 13 |
1 files changed, 6 insertions, 7 deletions
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 */ |