X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fpanner.h;h=7dd9de6e0ab18e5ab4ff854b5c4834e97b745125;hb=b855e5f3220027502a3c88f189d511fe2a5a3c2b;hp=b30b1859a3ec2e7dca916d386657c4f9951895bc;hpb=46e448252f74ce35f37a1a41bb3ebe0f0312cd5d;p=ardour.git diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index b30b1859a3..7dd9de6e0a 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -30,9 +30,18 @@ #include "pbd/signals.h" #include "pbd/stateful.h" +#include "ardour/libardour_visibility.h" #include "ardour/types.h" #include "ardour/automation_control.h" #include "ardour/automatable.h" +#include "ardour/visibility.h" + +#ifdef ARDOURPANNER_DLL_EXPORTS // defined if we are building the ARDOUR Panners DLLs (instead of using them) + #define ARDOURPANNER_API LIBARDOUR_HELPER_DLL_EXPORT +#else + #define ARDOURPANNER_API LIBARDOUR_HELPER_DLL_IMPORT +#endif +#define ARDOURPANNER_LOCAL LIBARDOUR_HELPER_DLL_LOCAL namespace ARDOUR { @@ -42,7 +51,7 @@ class BufferSet; class AudioBuffer; class Speakers; -class Panner : public PBD::Stateful, public PBD::ScopedConnectionList +class LIBARDOUR_API Panner : public PBD::Stateful, public PBD::ScopedConnectionList { public: Panner (boost::shared_ptr); @@ -172,7 +181,7 @@ protected: } // namespace extern "C" { -struct PanPluginDescriptor { +struct LIBARDOUR_API PanPluginDescriptor { std::string name; int32_t in; int32_t out;