From e92b0f7b6c3c02b5d903eab398682bcbf6ae6d65 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sat, 26 Feb 2011 16:06:32 +0100 Subject: a little bit of refactoring - while in cDvbDeviceProbe create only as much cDynamicDevice-objects as needed - create dummy-device-probe only if specified on command line option "--dummy-probe" --- dynamicdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynamicdevice.h') diff --git a/dynamicdevice.h b/dynamicdevice.h index 2f90a73..36fb12d 100644 --- a/dynamicdevice.h +++ b/dynamicdevice.h @@ -23,9 +23,9 @@ private: static int numDynamicDevices; static cMutex arrayMutex; static cDynamicDevice *dynamicdevice[MAXDEVICES]; - static int IndexOf(const char *DevPath, int &NextFreeIndex); public: static cDvbDeviceProbe *dvbprobe; + static int IndexOf(const char *DevPath, int &NextFreeIndex); static int NumDynamicDevices(void) { return numDynamicDevices; } ///< Returns the total number of dynamic devices. static bool ProcessQueuedCommands(void); -- cgit v1.2.3