diff options
author | Carl Hetherington <carl@carlh.net> | 2009-10-15 00:57:55 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-10-15 00:57:55 +0000 |
commit | 79f91c7a205d981d2b8cc15e32a6da02d8423065 (patch) | |
tree | f27dd8319522be8321720ef3560c2207dd56b158 /libs/ardour/location.cc | |
parent | 09efd82c6aea973e3eb9497ef2b09256bf5ddde4 (diff) |
Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE,
MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION.
So don't do that unless you make a backup of the session file first.
git-svn-id: svn://localhost/ardour2/branches/3.0@5786 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r-- | libs/ardour/location.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index 4db398e534..5fb0442eba 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -59,7 +59,7 @@ Location::Location (const Location& other) _locked = false; } -Location::Location (const XMLNode& node) +Location::Location (const XMLNode& node, int version) { if (set_state (node)) { throw failed_constructor (); @@ -347,7 +347,7 @@ Location::get_state (void) } int -Location::set_state (const XMLNode& node) +Location::set_state (const XMLNode& node, int version) { const XMLProperty *prop; @@ -674,7 +674,7 @@ Locations::get_state () } int -Locations::set_state (const XMLNode& node) +Locations::set_state (const XMLNode& node, int version) { XMLNodeList nlist; XMLNodeConstIterator niter; |