summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-10-21 20:41:24 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-12-02 21:18:29 +1000
commite80d18b0b3ecf9890d83a273a5a77de112022790 (patch)
treeeac412dfa6d3ea73ed8a00c422d5ebccfdf1b393 /libs/ardour/ardour
parent796f39b9670f28b4db4b695e8e3f33ca521d0103 (diff)
Revert unfinished export visibility commits by John Emmas
These break the mingw build and the visibility work will make this code redundant
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/session_event.h4
-rw-r--r--libs/ardour/ardour/visibility.h30
2 files changed, 2 insertions, 32 deletions
diff --git a/libs/ardour/ardour/session_event.h b/libs/ardour/ardour/session_event.h
index e90ab71e26..8629f83c85 100644
--- a/libs/ardour/ardour/session_event.h
+++ b/libs/ardour/ardour/session_event.h
@@ -36,7 +36,7 @@ namespace ARDOUR {
class Slave;
class Region;
-class LIBARDOUR_API SessionEvent {
+class SessionEvent {
public:
enum Type {
SetTransportSpeed,
@@ -151,7 +151,7 @@ private:
friend class Butler;
};
-class LIBARDOUR_API SessionEventManager {
+class SessionEventManager {
public:
SessionEventManager () : pending_events (2048),
auto_loop_event(0), punch_out_event(0), punch_in_event(0) {}
diff --git a/libs/ardour/ardour/visibility.h b/libs/ardour/ardour/visibility.h
index b702e94edb..09287b877d 100644
--- a/libs/ardour/ardour/visibility.h
+++ b/libs/ardour/ardour/visibility.h
@@ -20,36 +20,6 @@
#ifndef __libardour_visibility_h__
#define __libardour_visibility_h__
-#ifdef LIBARDOUR_IS_IN_WIN_STATIC_LIB // #define if your project uses libardour (under Windows) as a static library
-#define LIBARDOUR_IS_IN_WINDLL 0
-#endif
-
-#if !defined(LIBARDOUR_IS_IN_WINDLL)
- #if defined(COMPILER_MSVC) || defined(COMPILER_MINGW)
- // If you need '__declspec' compatibility, add extra compilers to the above as necessary
- #define LIBARDOUR_IS_IN_WINDLL 1
- #else
- #define LIBARDOUR_IS_IN_WINDLL 0
- #endif
-#endif
-
-#if LIBARDOUR_IS_IN_WINDLL && !defined(LIBARDOUR_API)
- #if defined(BUILDING_LIBARDOUR)
- #define LIBARDOUR_API __declspec(dllexport)
- #define LIBARDOUR_APICALLTYPE __cdecl
- #elif defined(COMPILER_MSVC) || defined(COMPILER_MINGW) // Probably needs Cygwin too, at some point
- #define LIBARDOUR_API __declspec(dllimport)
- #define LIBARDOUR_APICALLTYPE __cdecl
- #else
- #error "Attempting to define __declspec with an incompatible compiler !"
- #endif
-#elif !defined(LIBARDOUR_API)
- // Other compilers / platforms could be accommodated here (as an example, see LIBARDOUR_HELPER_DLL, below)
- #define LIBARDOUR_API
- #define LIBARDOUR_APICALLTYPE
-#endif
-
-
/* _WIN32 is defined by most compilers targetting Windows, but within the
* ardour source tree, we also define COMPILER_MSVC or COMPILER_MINGW depending
* on how a Windows build is built.