remove Session::controllable_by_descriptor() and move code into GenericMIDI code...
[ardour.git] / libs / evoral / evoral / visibility.h
index fc6d23a401eaae404766cc25430d57de50e2cf6a..6c6f3825d74ac127d75aa828d1c874e6c8666480 100644 (file)
   #define LIBEVORAL_DLL_IMPORT __declspec(dllimport)
   #define LIBEVORAL_DLL_EXPORT __declspec(dllexport)
   #define LIBEVORAL_DLL_LOCAL
+  #define LIBEVORAL_TEMPLATE_DLL_IMPORT __declspec(dllimport)
+  #define LIBEVORAL_TEMPLATE_DLL_EXPORT __declspec(dllexport)
 #else
   #define LIBEVORAL_DLL_IMPORT __attribute__ ((visibility ("default")))
   #define LIBEVORAL_DLL_EXPORT __attribute__ ((visibility ("default")))
   #define LIBEVORAL_DLL_LOCAL  __attribute__ ((visibility ("hidden")))
+  #define LIBEVORAL_TEMPLATE_DLL_IMPORT __attribute__ ((visibility ("default")))
+  #define LIBEVORAL_TEMPLATE_DLL_EXPORT __attribute__ ((visibility ("default")))
 #endif
 
 #ifdef LIBEVORAL_STATIC // libevoral is not a DLL
 #else
   #ifdef LIBEVORAL_DLL_EXPORTS // defined if we are building the libevoral DLL (instead of using it)
     #define LIBEVORAL_API LIBEVORAL_DLL_EXPORT
+    #define LIBEVORAL_TEMPLATE_API LIBEVORAL_TEMPLATE_DLL_EXPORT
   #else
     #define LIBEVORAL_API LIBEVORAL_DLL_IMPORT
-  #endif 
+    #define LIBEVORAL_TEMPLATE_API LIBEVORAL_TEMPLATE_DLL_IMPORT
+  #endif
   #define     LIBEVORAL_LOCAL LIBEVORAL_DLL_LOCAL
 #endif