From 03bbf6176f28955d9fd8ed4b090f73ac4f2c990c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Aug 2017 13:55:18 +0100 Subject: Tidy private functions in DevicesI --- p2pvr/devices/devices.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/p2pvr/devices/devices.h b/p2pvr/devices/devices.h index 0d8af11..30e0848 100644 --- a/p2pvr/devices/devices.h +++ b/p2pvr/devices/devices.h @@ -45,23 +45,24 @@ class DLL_PUBLIC DevicesI : public Tuners { private: typedef boost::function DeliveryProvider; - TunerPtr getTuner(); - TunerPtr getTuner(const DeliveryProvider &); - TunerPtr getTuner(const DVBSI::DeliveryPtr &); - void releaseTuner(const TunerPtr &); - typedef boost::function Target; - void finiteTunerOperation(TunerPtr && tuner, const Target &); - typedef boost::shared_ptr OpenTunerPtr; typedef std::map OpenDevices; - OpenDevices openDevices; typedef std::map BackgroundOperations; + + DLL_PRIVATE TunerPtr getTuner(); + DLL_PRIVATE TunerPtr getTuner(const DeliveryProvider &); + DLL_PRIVATE TunerPtr getTuner(const DVBSI::DeliveryPtr &); + DLL_PRIVATE void releaseTuner(const TunerPtr &); + DLL_PRIVATE void finiteTunerOperation(TunerPtr && tuner, const Target &); + + OpenDevices openDevices; BackgroundOperations backgroundOperations; std::vector devices; std::mutex lock; - static IceTray::Logging::LoggerPtr logger; IceTray::OptionsResolver options; + + static IceTray::Logging::LoggerPtr logger; }; } -- cgit v1.2.3