diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-02-26 16:06:32 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-02-26 16:06:32 +0100 |
commit | e92b0f7b6c3c02b5d903eab398682bcbf6ae6d65 (patch) | |
tree | 9708a3b9adcbd0497c31356a1a71d0a25bf83e2b /dynamicdevice.h | |
parent | f6f49800845d0f930220a043ea58543855287e0c (diff) | |
download | vdr-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.h | 2 |
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); |