when mingw is mingw64, it appears that we need to use __declspec() and not __attribut...
[ardour.git] / libs / evoral / evoral / PatchChange.hpp
index 53b50a33836101ec844e6c52c9b683216dbd01db..e05157aa92318abdf1ea81a357b3225b83058151 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef EVORAL_PATCH_CHANGE_HPP
 #define EVORAL_PATCH_CHANGE_HPP
 
+#include "evoral/visibility.h"
 #include "evoral/Event.hpp"
 #include "evoral/MIDIEvent.hpp"
 
@@ -29,7 +30,7 @@ namespace Evoral {
  *  bank select and then a program change.
  */
 template<typename Time>
-class PatchChange
+class /*LIBEVORAL_API*/ PatchChange
 {
 public:
        /** @param t Time.
@@ -166,7 +167,7 @@ private:
 }
 
 template<typename Time>
-std::ostream& operator<< (std::ostream& o, const Evoral::PatchChange<Time>& p) {
+/*LIBEVORAL_API*/ std::ostream& operator<< (std::ostream& o, const Evoral::PatchChange<Time>& p) {
        o << "Patch Change " << p.id() << " @ " << p.time() << " bank " << (int) p.bank() << " program " << (int) p.program();
        return o;
 }