summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/Note.hpp
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-03-21 18:57:36 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-03-21 18:57:36 +0000
commit34ebb682a4ecbe212d2e57e651622429331c7274 (patch)
tree9cc06f8877134e0dafc628bd2694c074ecffc866 /libs/evoral/evoral/Note.hpp
parentabab819bb361efc71a090650570f08bf5495c826 (diff)
Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL).
Diffstat (limited to 'libs/evoral/evoral/Note.hpp')
-rw-r--r--libs/evoral/evoral/Note.hpp4
1 files changed, 4 insertions, 0 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<typename Time>
+#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<Time>& copy);