diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-06-15 23:01:54 +0200 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-06-15 23:01:54 +0200 |
commit | 41adafa231a3130288c7140449c02a3608c6599c (patch) | |
tree | ad81bc6bbbbf89adee82340b8ea972f2dd2f1fa8 /dynamicdevice.h | |
parent | 52eac73927cc0110ea9f93a40186d01564f6d69a (diff) | |
download | vdr-plugin-dynamite-41adafa231a3130288c7140449c02a3608c6599c.tar.gz vdr-plugin-dynamite-41adafa231a3130288c7140449c02a3608c6599c.tar.bz2 |
add udev property dynamite_cardindex to attach a device at a preferred slot (if free)
Diffstat (limited to 'dynamicdevice.h')
-rw-r--r-- | dynamicdevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dynamicdevice.h b/dynamicdevice.h index b953b97..3c4ef37 100644 --- a/dynamicdevice.h +++ b/dynamicdevice.h @@ -26,11 +26,12 @@ private: public: static cDvbDeviceProbe *dvbprobe; static bool enableOsdMessages; - static int IndexOf(const char *DevPath, int &NextFreeIndex); + static int IndexOf(const char *DevPath, int &NextFreeIndex, int WishIndex); static int NumDynamicDevices(void) { return numDynamicDevices; } ///< Returns the total number of dynamic devices. static cDynamicDevice *GetDynamicDevice(int Index); static bool ProcessQueuedCommands(void); + static int GetProposedCardIndex(const char *DevPath); static void DetachAllDevices(bool Force); static cString ListAllDevices(int &ReplyCode); // for SVDRP command LSTD static cString AttachDevicePattern(const char *Pattern); |