summaryrefslogtreecommitdiff
path: root/dynamicdevice.h
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-02-26 16:06:32 +0100
committerLars Hanisch <dvb@flensrocker.de>2011-02-26 16:06:32 +0100
commite92b0f7b6c3c02b5d903eab398682bcbf6ae6d65 (patch)
tree9708a3b9adcbd0497c31356a1a71d0a25bf83e2b /dynamicdevice.h
parentf6f49800845d0f930220a043ea58543855287e0c (diff)
downloadvdr-plugin-dynamite-e92b0f7b6c3c02b5d903eab398682bcbf6ae6d65.tar.gz
vdr-plugin-dynamite-e92b0f7b6c3c02b5d903eab398682bcbf6ae6d65.tar.bz2
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"
Diffstat (limited to 'dynamicdevice.h')
-rw-r--r--dynamicdevice.h2
1 files changed, 1 insertions, 1 deletions
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);