summaryrefslogtreecommitdiff
path: root/libs/midi++2/midi++/midnam_patch.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-10-15 00:57:55 +0000
committerCarl Hetherington <carl@carlh.net>2009-10-15 00:57:55 +0000
commit79f91c7a205d981d2b8cc15e32a6da02d8423065 (patch)
treef27dd8319522be8321720ef3560c2207dd56b158 /libs/midi++2/midi++/midnam_patch.h
parent09efd82c6aea973e3eb9497ef2b09256bf5ddde4 (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/midi++2/midi++/midnam_patch.h')
-rw-r--r--libs/midi++2/midi++/midnam_patch.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/midi++2/midi++/midnam_patch.h b/libs/midi++2/midi++/midnam_patch.h
index cd3207cffc..27986bc6e9 100644
--- a/libs/midi++2/midi++/midnam_patch.h
+++ b/libs/midi++2/midi++/midnam_patch.h
@@ -102,7 +102,7 @@ public:
const PatchPrimaryKey& patch_primary_key() const { return _id; }
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _number;
@@ -129,7 +129,7 @@ public:
const PatchPrimaryKey* patch_primary_key() const { return _id; }
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _name;
@@ -203,7 +203,7 @@ public:
}
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode& a_node, int version = 3000);
private:
std::string _name;
@@ -227,7 +227,7 @@ public:
void set_number(const std::string a_number) { _number = a_number; }
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _number;
@@ -248,7 +248,7 @@ public:
const Notes& notes() const { return _notes; }
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _name;
@@ -266,7 +266,7 @@ public:
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
std::string channel_name_set_name_by_channel(uint8_t channel) {
assert(channel <= 15);
@@ -317,7 +317,7 @@ public:
}
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _manufacturer;
@@ -346,7 +346,7 @@ public:
const MasterDeviceNames::Models& all_models() const { return _all_models; }
XMLNode& get_state (void);
- int set_state (const XMLNode& a_node);
+ int set_state (const XMLNode&, int version = 3000);
private:
std::string _author;