summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/MIDIEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/evoral/evoral/MIDIEvent.hpp')
-rw-r--r--libs/evoral/evoral/MIDIEvent.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/evoral/evoral/MIDIEvent.hpp b/libs/evoral/evoral/MIDIEvent.hpp
index 6ba7269571..d6541bafeb 100644
--- a/libs/evoral/evoral/MIDIEvent.hpp
+++ b/libs/evoral/evoral/MIDIEvent.hpp
@@ -21,8 +21,11 @@
#include <cmath>
#include <boost/shared_ptr.hpp>
+
+#include "evoral/visibility.h"
#include "evoral/Event.hpp"
#include "evoral/midi_events.h"
+
#ifdef EVORAL_MIDI_XML
class XMLNode;
#endif
@@ -36,7 +39,7 @@ namespace Evoral {
* valid MIDI data for these functions to make sense.
*/
template<typename Time>
-class MIDIEvent : public Event<Time> {
+class LIBEVORAL_API MIDIEvent : public Event<Time> {
public:
MIDIEvent(EventType type=0, Time time=0, uint32_t size=0, uint8_t* buf=NULL, bool alloc=false)
: Event<Time>(type, time, size, buf, alloc)