tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues...
[ardour.git] / libs / ardour / ardour / midi_model.h
index e76a993b4165b827b808d0940d328a5500bbe799..dc1c7af0e9796daf97c14a29e06f567543bbbea7 100644 (file)
@@ -58,7 +58,7 @@ public:
        NoteMode note_mode() const { return (percussive() ? Percussive : Sustained); }
        void set_note_mode(NoteMode mode) { set_percussive(mode == Percussive); };
 
-       class DiffCommand : public Command {
+       class LIBARDOUR_API DiffCommand : public Command {
        public:
 
                DiffCommand (boost::shared_ptr<MidiModel> m, const std::string& name);
@@ -79,7 +79,7 @@ public:
 
        };
 
-       class NoteDiffCommand : public DiffCommand {
+       class LIBARDOUR_API NoteDiffCommand : public DiffCommand {
        public:
 
                NoteDiffCommand (boost::shared_ptr<MidiModel> m, const std::string& name) : DiffCommand (m, name) {}
@@ -145,7 +145,7 @@ public:
        };
 
        /* Currently this class only supports changes of sys-ex time, but could be expanded */
-       class SysExDiffCommand : public DiffCommand {
+       class LIBARDOUR_API SysExDiffCommand : public DiffCommand {
        public:
                SysExDiffCommand (boost::shared_ptr<MidiModel> m, const XMLNode& node);
 
@@ -180,7 +180,7 @@ public:
                Change unmarshal_change (XMLNode *);
        };
 
-       class PatchChangeDiffCommand : public DiffCommand {
+       class LIBARDOUR_API PatchChangeDiffCommand : public DiffCommand {
        public:
                PatchChangeDiffCommand (boost::shared_ptr<MidiModel>, const std::string &);
                PatchChangeDiffCommand (boost::shared_ptr<MidiModel>, const XMLNode &);