diff options
author | David Robillard <d@drobilla.net> | 2015-03-02 17:14:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-02 17:14:31 +0000 |
commit | e5da085b75ff7c33a10ac2b03434d487c47340f2 (patch) | |
tree | c59e52d7442dd735ec48dd0fc2d11e6838a15d6a /src | |
parent | f69c75e637cc3c789a675d1811a2f632732bafc0 (diff) | |
download | ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.gz ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.bz2 ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.zip |
Fix compilation with -fvisibility=hidden.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5611 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/World.cpp | 2 | ||||
-rw-r--r-- | src/gui/App.hpp | 3 | ||||
-rw-r--r-- | src/gui/GraphBox.hpp | 3 | ||||
-rw-r--r-- | src/server/Buffer.hpp | 3 | ||||
-rw-r--r-- | src/server/BufferFactory.hpp | 3 | ||||
-rw-r--r-- | src/server/BufferRef.hpp | 6 | ||||
-rw-r--r-- | src/server/Engine.hpp | 3 | ||||
-rw-r--r-- | src/server/PostProcessor.hpp | 4 | ||||
-rw-r--r-- | src/server/ThreadManager.hpp | 3 |
9 files changed, 20 insertions, 10 deletions
diff --git a/src/World.cpp b/src/World.cpp index 615c761d..03496f34 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -279,7 +279,7 @@ World::load_module(const char* name) } } - log().error(fmt("Failed to load module `%1%'\n") % name); + log().error(fmt("Failed to load module `%1%' (%2%)\n") % name % lib->get_last_error()); delete lib; return false; } diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 0ce37ebd..0e3a4079 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -29,6 +29,7 @@ #include "ingen/Atom.hpp" #include "ingen/Status.hpp" #include "ingen/World.hpp" +#include "ingen/ingen.h" #include "ingen/types.hpp" #include "raul/Deletable.hpp" #include "raul/URI.hpp" @@ -65,7 +66,7 @@ class WindowFactory; /** Ingen Gtk Application. * \ingroup GUI */ -class App +class INGEN_API App { public: ~App(); diff --git a/src/gui/GraphBox.hpp b/src/gui/GraphBox.hpp index aee4902c..8d884e01 100644 --- a/src/gui/GraphBox.hpp +++ b/src/gui/GraphBox.hpp @@ -28,6 +28,7 @@ #include <gtkmm/scrolledwindow.h> #include <gtkmm/statusbar.h> +#include "ingen/ingen.h" #include "ingen/types.hpp" #include "Window.hpp" @@ -60,7 +61,7 @@ class SubgraphModule; * * \ingroup GUI */ -class GraphBox : public Gtk::VBox +class INGEN_API GraphBox : public Gtk::VBox { public: GraphBox(BaseObjectType* cobject, diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp index cf36bc21..6dcf241b 100644 --- a/src/server/Buffer.hpp +++ b/src/server/Buffer.hpp @@ -23,6 +23,7 @@ #include <boost/utility.hpp> #include "ingen/types.hpp" +#include "ingen/ingen.h" #include "lv2/lv2plug.in/ns/ext/atom/atom.h" #include "lv2/lv2plug.in/ns/ext/urid/urid.h" #include "raul/Deletable.hpp" @@ -38,7 +39,7 @@ class Context; class Engine; class BufferFactory; -class Buffer : public boost::noncopyable +class INGEN_API Buffer : public boost::noncopyable { public: Buffer(BufferFactory& bufs, diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp index 662c8149..97a5ca51 100644 --- a/src/server/BufferFactory.hpp +++ b/src/server/BufferFactory.hpp @@ -24,6 +24,7 @@ #include "ingen/Atom.hpp" #include "ingen/Forge.hpp" #include "ingen/URIs.hpp" +#include "ingen/ingen.h" #include "ingen/types.hpp" #include "raul/RingBuffer.hpp" @@ -39,7 +40,7 @@ namespace Server { class Engine; -class BufferFactory { +class INGEN_API BufferFactory { public: BufferFactory(Engine& engine, URIs& uris); ~BufferFactory(); diff --git a/src/server/BufferRef.hpp b/src/server/BufferRef.hpp index 77e3c130..c25f8c7f 100644 --- a/src/server/BufferRef.hpp +++ b/src/server/BufferRef.hpp @@ -19,6 +19,8 @@ #include <boost/intrusive_ptr.hpp> +#include "ingen/ingen.h" + namespace Ingen { namespace Server { @@ -27,8 +29,8 @@ class Buffer; typedef boost::intrusive_ptr<Buffer> BufferRef; // Defined in Buffer.cpp -void intrusive_ptr_add_ref(Buffer* b); -void intrusive_ptr_release(Buffer* b); +INGEN_API void intrusive_ptr_add_ref(Buffer* b); +INGEN_API void intrusive_ptr_release(Buffer* b); } // namespace Server } // namespace Ingen diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp index 6c932e18..4a4d6a56 100644 --- a/src/server/Engine.hpp +++ b/src/server/Engine.hpp @@ -23,6 +23,7 @@ #include "ingen/EngineBase.hpp" #include "ingen/Interface.hpp" +#include "ingen/ingen.h" #include "ingen/types.hpp" #include "ProcessContext.hpp" @@ -60,7 +61,7 @@ class Worker; @ingroup engine */ -class Engine : public boost::noncopyable, public EngineBase +class INGEN_API Engine : public boost::noncopyable, public EngineBase { public: explicit Engine(Ingen::World* world); diff --git a/src/server/PostProcessor.hpp b/src/server/PostProcessor.hpp index f4301f46..8b7bda50 100644 --- a/src/server/PostProcessor.hpp +++ b/src/server/PostProcessor.hpp @@ -19,6 +19,8 @@ #include <atomic> +#include "ingen/ingen.h" + #include "types.hpp" namespace Ingen { @@ -39,7 +41,7 @@ class ProcessContext; * * \ingroup engine */ -class PostProcessor +class INGEN_API PostProcessor { public: explicit PostProcessor(Engine& engine); diff --git a/src/server/ThreadManager.hpp b/src/server/ThreadManager.hpp index 1fb1ca58..a29f7f7f 100644 --- a/src/server/ThreadManager.hpp +++ b/src/server/ThreadManager.hpp @@ -19,6 +19,7 @@ #include <cassert> +#include "ingen/ingen.h" #include "raul/ThreadVar.hpp" namespace Ingen { @@ -31,7 +32,7 @@ enum ThreadFlag { THREAD_MESSAGE = 1 << 3, }; -class ThreadManager { +class INGEN_API ThreadManager { public: static inline void set_flag(ThreadFlag f) { #ifndef NDEBUG |