summaryrefslogtreecommitdiff
path: root/p2pvr/devices
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/devices')
-rw-r--r--p2pvr/devices/Jamfile.jam2
-rw-r--r--p2pvr/devices/localDevices.h8
2 files changed, 7 insertions, 3 deletions
diff --git a/p2pvr/devices/Jamfile.jam b/p2pvr/devices/Jamfile.jam
index f39256b..67c86fe 100644
--- a/p2pvr/devices/Jamfile.jam
+++ b/p2pvr/devices/Jamfile.jam
@@ -25,6 +25,8 @@ lib p2pvrdevices :
<library>..//p2common
<library>..//adhocutil
<implicit-dependency>../ice//p2pvrice
+ <cflags>-fvisibility=hidden
+ <variant>release:<cflags>-flto
: :
<library>boost_filesystem
<implicit-dependency>../ice//p2pvrice
diff --git a/p2pvr/devices/localDevices.h b/p2pvr/devices/localDevices.h
index 3c3d51b..1845256 100644
--- a/p2pvr/devices/localDevices.h
+++ b/p2pvr/devices/localDevices.h
@@ -7,8 +7,10 @@
#include <dvb.h>
#include <options.h>
#include <mutex>
+#include <visibility.h>
+#include <IceUtil/Timer.h>
-class LocalDevices : public P2PVR::LocalDevices {
+class DLL_PUBLIC LocalDevices : public P2PVR::LocalDevices {
public:
LocalDevices(Ice::ObjectAdapterPtr adapter, IceUtil::TimerPtr);
~LocalDevices();
@@ -30,9 +32,9 @@ class LocalDevices : public P2PVR::LocalDevices {
IceUtil::TimerTaskPtr clientCheck;
// Check that registered clients haven't silently gone away
- void ClientCheck(Ice::ObjectAdapterPtr adapter);
+ DLL_PRIVATE void ClientCheck(Ice::ObjectAdapterPtr adapter);
- class OpenTuner {
+ class DLL_PRIVATE OpenTuner {
public:
OpenTuner(DVBSI::DeliveryPtr, P2PVR::PrivateTunerPrx, bool);