mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 11:27:45 +01:00
'libs/surfaces' - Add an additional visibility specifier (ARDOURCP_API as well as ARDOURSURFACE_API)
This commit is contained in:
parent
2f3c62c5da
commit
5c8306f148
2 changed files with 11 additions and 4 deletions
|
|
@ -32,12 +32,21 @@
|
|||
|
||||
#include "timecode/time.h"
|
||||
|
||||
#include "ardour/visibility.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class Session;
|
||||
class SessionEvent;
|
||||
}
|
||||
|
||||
class BasicUI {
|
||||
#ifdef ARDOURCP_DLL_EXPORTS // defined if we are building the ARDOUR Control Protocol DLL (instead of using it)
|
||||
#define ARDOURCP_API LIBARDOUR_HELPER_DLL_EXPORT
|
||||
#else
|
||||
#define ARDOURCP_API LIBARDOUR_HELPER_DLL_IMPORT
|
||||
#endif
|
||||
#define ARDOURCP_LOCAL LIBARDOUR_HELPER_DLL_LOCAL
|
||||
|
||||
class ARDOURCP_API BasicUI {
|
||||
public:
|
||||
BasicUI (ARDOUR::Session&);
|
||||
virtual ~BasicUI ();
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@
|
|||
#include "control_protocol/basic_ui.h"
|
||||
#include "control_protocol/types.h"
|
||||
|
||||
#include "ardour/visibility.h"
|
||||
|
||||
#ifdef ARDOURSURFACE_DLL_EXPORTS // defined if we are building the ARDOUR surface DLLs (instead of using them)
|
||||
#define ARDOURSURFACE_API LIBARDOUR_HELPER_DLL_EXPORT
|
||||
#else
|
||||
|
|
@ -48,7 +46,7 @@ class Route;
|
|||
class Session;
|
||||
class Bundle;
|
||||
|
||||
class ARDOURSURFACE_API ControlProtocol : public PBD::Stateful, public PBD::ScopedConnectionList, public BasicUI
|
||||
class ARDOURCP_API ControlProtocol : public PBD::Stateful, public PBD::ScopedConnectionList, public BasicUI
|
||||
{
|
||||
public:
|
||||
ControlProtocol (Session&, std::string name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue