diff options
author | David Robillard <d@drobilla.net> | 2013-01-20 02:41:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-20 02:41:27 +0000 |
commit | f7ada4b3233c9c68cc27714ce310068d4adbb07e (patch) | |
tree | ae03fe1543da65a12ba29923a5f685c10393d19e /libs/midi++2/midi++/midnam_patch.h | |
parent | 411dd7566f64959167419713e702e06af09465e2 (diff) |
Add General MIDI drum note names and patch names.
Support loading note names per ChannelNameSet (like GM) in addition to per Patch (like DM5).
git-svn-id: svn://localhost/ardour2/branches/3.0@13913 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/midi++/midnam_patch.h')
-rw-r--r-- | libs/midi++2/midi++/midnam_patch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/midi++2/midi++/midnam_patch.h b/libs/midi++2/midi++/midnam_patch.h index 54d36735e5..338642025e 100644 --- a/libs/midi++2/midi++/midnam_patch.h +++ b/libs/midi++2/midi++/midnam_patch.h @@ -197,6 +197,8 @@ public: return boost::shared_ptr<Patch>(); } + const std::string& note_list_name() const { return _note_list_name; } + XMLNode& get_state (void); int set_state (const XMLTree&, const XMLNode&); @@ -211,6 +213,7 @@ private: PatchMap _patch_map; PatchList _patch_list; std::string _patch_list_name; + std::string _note_list_name; }; std::ostream& operator<< (std::ostream&, const ChannelNameSet&); |