summaryrefslogtreecommitdiff
path: root/libtmdb
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-07-30 18:28:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-07-30 18:28:41 +0100
commitfe61ba505f3b1aa7401836a97dd32284f9932a74 (patch)
tree682d06a9f995216fd24cc60d555e6f2adbabefe5 /libtmdb
parentTidy SQL statements into sub-dirs (diff)
downloadp2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.tar.bz2
p2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.tar.xz
p2pvr-fe61ba505f3b1aa7401836a97dd32284f9932a74.zip
Move everything out of the global namespace
Diffstat (limited to 'libtmdb')
-rw-r--r--libtmdb/tmdb-proxy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libtmdb/tmdb-proxy.h b/libtmdb/tmdb-proxy.h
index c5490a3..472e522 100644
--- a/libtmdb/tmdb-proxy.h
+++ b/libtmdb/tmdb-proxy.h
@@ -1,9 +1,9 @@
#include <tmdb-api.h>
#include "httpClient.h"
+#include <visibility.h>
-#pragma GCC visibility push(default)
namespace TMDb {
- class Proxy : public API, private HttpClient {
+ class DLL_PUBLIC Proxy : public API, private HttpClient {
public:
Proxy(const std::string & baseUrl, const std::string & apikey);
@@ -15,5 +15,4 @@ namespace TMDb {
TvSeriesPtr GetTvSeries(Ice::Int, const Ice::Current&) override;
};
};
-#pragma GCC visibility pop