diff options
Diffstat (limited to 'libs/midi++2/midi++/midnam_patch.h')
-rw-r--r-- | libs/midi++2/midi++/midnam_patch.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/libs/midi++2/midi++/midnam_patch.h b/libs/midi++2/midi++/midnam_patch.h index f3d766d7e3..9b2a611d9e 100644 --- a/libs/midi++2/midi++/midnam_patch.h +++ b/libs/midi++2/midi++/midnam_patch.h @@ -30,6 +30,7 @@ #include <stdint.h> +#include "midi++/libmidi_visibility.h" #include "midi++/event.h" #include "pbd/xml++.h" @@ -39,7 +40,7 @@ namespace MIDI namespace Name { -struct PatchPrimaryKey +struct LIBMIDIPP_API PatchPrimaryKey { public: int bank_number; @@ -81,7 +82,7 @@ public: class PatchBank; -class Patch +class LIBMIDIPP_API Patch { public: @@ -112,7 +113,7 @@ private: typedef std::list<boost::shared_ptr<Patch> > PatchNameList; -class PatchBank +class LIBMIDIPP_API PatchBank { public: PatchBank (uint16_t n = 0, std::string a_name = std::string()) : _name(a_name), _number (n) {}; @@ -138,7 +139,7 @@ private: std::string _patch_list_name; }; -class ChannelNameSet +class LIBMIDIPP_API ChannelNameSet { public: typedef std::set<uint8_t> AvailableForChannels; @@ -221,7 +222,7 @@ private: std::ostream& operator<< (std::ostream&, const ChannelNameSet&); -class Note +class LIBMIDIPP_API Note { public: Note() {} @@ -241,7 +242,7 @@ private: std::string _name; }; -class NoteNameList +class LIBMIDIPP_API NoteNameList { public: typedef std::vector< boost::shared_ptr<Note> > Notes; @@ -262,7 +263,7 @@ private: Notes _notes; }; -class Value +class LIBMIDIPP_API Value { public: Value() {} @@ -286,7 +287,7 @@ private: std::string _name; }; -class ValueNameList +class LIBMIDIPP_API ValueNameList { public: typedef std::map<uint16_t, boost::shared_ptr<Value> > Values; @@ -311,7 +312,7 @@ private: Values _values; }; -class Control +class LIBMIDIPP_API Control { public: Control() {} @@ -346,7 +347,7 @@ private: boost::shared_ptr<ValueNameList> _value_name_list; ///< Local, ValueNameList }; -class ControlNameList +class LIBMIDIPP_API ControlNameList { public: typedef std::map<uint16_t, boost::shared_ptr<Control> > Controls; @@ -370,7 +371,7 @@ private: Controls _controls; }; -class CustomDeviceMode +class LIBMIDIPP_API CustomDeviceMode { public: CustomDeviceMode() {}; @@ -396,7 +397,7 @@ private: std::string _channel_name_set_assignments[16]; }; -class MasterDeviceNames +class LIBMIDIPP_API MasterDeviceNames { public: typedef std::set<std::string> Models; @@ -459,7 +460,7 @@ private: ValueNameLists _value_name_lists; }; -class MIDINameDocument +class LIBMIDIPP_API MIDINameDocument { public: // Maps Model names to MasterDeviceNames @@ -488,7 +489,7 @@ private: MasterDeviceNames::Models _all_models; }; -extern const char* general_midi_program_names[128]; /* 0 .. 127 */ +LIBMIDIPP_API extern const char* general_midi_program_names[128]; /* 0 .. 127 */ } |