diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-08-03 01:40:28 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-08-03 01:40:28 +0100 |
commit | f5fb58c9a20cb9d450fe924874ea764fc773a367 (patch) | |
tree | a3451a4d7de653857e84f61f811703d33fcc904c | |
parent | Internalise the core of SI table parsers into the DVB lib (diff) | |
download | p2pvr-f5fb58c9a20cb9d450fe924874ea764fc773a367.tar.bz2 p2pvr-f5fb58c9a20cb9d450fe924874ea764fc773a367.tar.xz p2pvr-f5fb58c9a20cb9d450fe924874ea764fc773a367.zip |
Reduce visibility of lots of things where possible
-rw-r--r-- | p2pvr/daemon/Jamfile.jam | 1 | ||||
-rw-r--r-- | p2pvr/daemon/globalDevices.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/maintenance.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/recorder.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/recordings.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/schedules.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/si.h | 3 | ||||
-rw-r--r-- | p2pvr/daemon/storage.h | 4 |
8 files changed, 9 insertions, 14 deletions
diff --git a/p2pvr/daemon/Jamfile.jam b/p2pvr/daemon/Jamfile.jam index 318a585..f276437 100644 --- a/p2pvr/daemon/Jamfile.jam +++ b/p2pvr/daemon/Jamfile.jam @@ -24,6 +24,7 @@ lib p2pvrdaemon : <library>slicer <library>slicer-db <slicer>yes + <ice-visibility>hidden <include>. <icetray.sql.basedir>$(me) <icetray.sql.namespace>P2PVR diff --git a/p2pvr/daemon/globalDevices.h b/p2pvr/daemon/globalDevices.h index c5097b3..43a7dc3 100644 --- a/p2pvr/daemon/globalDevices.h +++ b/p2pvr/daemon/globalDevices.h @@ -6,10 +6,9 @@ #include <dvb.h> #include <options.h> -#include <visibility.h> namespace P2PVR { -class DLL_PUBLIC GlobalDevices : public Devices { +class GlobalDevices : public Devices { public: class Options : public IceTray::Options { public: diff --git a/p2pvr/daemon/maintenance.h b/p2pvr/daemon/maintenance.h index 5299139..ff53ca6 100644 --- a/p2pvr/daemon/maintenance.h +++ b/p2pvr/daemon/maintenance.h @@ -6,10 +6,9 @@ #include <abstractDatabaseClient.h> #include <options.h> #include <logger.h> -#include <visibility.h> namespace P2PVR { -class DLL_PUBLIC MaintenanceI : public Maintenance, public IceTray::AbstractDatabaseClient { +class MaintenanceI : public Maintenance, public IceTray::AbstractDatabaseClient { public: class Options : public IceTray::Options { public: diff --git a/p2pvr/daemon/recorder.h b/p2pvr/daemon/recorder.h index 215732f..b2d581c 100644 --- a/p2pvr/daemon/recorder.h +++ b/p2pvr/daemon/recorder.h @@ -6,11 +6,10 @@ #include <p2pvr.h> #include <mutex> #include "serviceStreamer.h" -#include <visibility.h> #include <logger.h> namespace P2PVR { -class DLL_PUBLIC RecorderI : public Recorder { +class RecorderI : public Recorder { public: typedef std::vector<IceUtil::TimerTaskPtr> Pendings; diff --git a/p2pvr/daemon/recordings.h b/p2pvr/daemon/recordings.h index 4c3a54b..e705e43 100644 --- a/p2pvr/daemon/recordings.h +++ b/p2pvr/daemon/recordings.h @@ -3,12 +3,11 @@ #include <p2pvr.h> #include <string> -#include <visibility.h> #include <logger.h> #include <abstractDatabaseClient.h> namespace P2PVR { -class DLL_PUBLIC RecordingsI : public Recordings, public IceTray::AbstractDatabaseClient { +class RecordingsI : public Recordings, public IceTray::AbstractDatabaseClient { public: RecordingsI(IceTray::DatabasePoolPtr db); diff --git a/p2pvr/daemon/schedules.h b/p2pvr/daemon/schedules.h index 558c127..f1fcde2 100644 --- a/p2pvr/daemon/schedules.h +++ b/p2pvr/daemon/schedules.h @@ -5,7 +5,6 @@ #include <options.h> #include <abstractDatabaseClient.h> #include <factory.h> -#include <visibility.h> #include <intrusivePtrBase.h> #include <logger.h> @@ -65,7 +64,7 @@ class EpisodeGroup { Showings selected; }; -class DLL_PUBLIC SchedulesI : public Schedules, public IceTray::AbstractDatabaseClient { +class SchedulesI : public Schedules, public IceTray::AbstractDatabaseClient { public: class Options : public IceTray::Options { public: diff --git a/p2pvr/daemon/si.h b/p2pvr/daemon/si.h index 4ee7629..820118d 100644 --- a/p2pvr/daemon/si.h +++ b/p2pvr/daemon/si.h @@ -3,11 +3,10 @@ #include <p2pvr.h> #include <abstractDatabaseClient.h> -#include <visibility.h> #include <logger.h> namespace P2PVR { -class DLL_PUBLIC SII : public SI, public IceTray::AbstractDatabaseClient { +class SII : public SI, public IceTray::AbstractDatabaseClient { public: SII(IceTray::DatabasePoolPtr); diff --git a/p2pvr/daemon/storage.h b/p2pvr/daemon/storage.h index 305fb68..3dae5d4 100644 --- a/p2pvr/daemon/storage.h +++ b/p2pvr/daemon/storage.h @@ -12,9 +12,9 @@ #include <abstractDatabaseClient.h> namespace P2PVR { -class DLL_PUBLIC StorageI : public Storage, IceTray::AbstractDatabaseClient { +class StorageI : public Storage, IceTray::AbstractDatabaseClient { public: - class Options : public IceTray::Options { + class DLL_PUBLIC Options : public IceTray::Options { public: Options(); |