From 34ebb682a4ecbe212d2e57e651622429331c7274 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 21 Mar 2014 18:57:36 +0000 Subject: [PATCH] Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL). --- libs/evoral/evoral/Note.hpp | 4 ++++ libs/evoral/evoral/visibility.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp index e84d6b9dc4..5401271621 100644 --- a/libs/evoral/evoral/Note.hpp +++ b/libs/evoral/evoral/Note.hpp @@ -33,7 +33,11 @@ namespace Evoral { * Currently a note is defined as (on event, length, off event). */ template +#ifdef COMPILER_MSVC +class LIBEVORAL_LOCAL Note { +#else class LIBEVORAL_TEMPLATE_API Note { +#endif public: Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40); Note(const Note