summaryrefslogtreecommitdiff
path: root/dynamicdevice.h
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-06-15 23:01:54 +0200
committerLars Hanisch <dvb@flensrocker.de>2011-06-15 23:01:54 +0200
commit41adafa231a3130288c7140449c02a3608c6599c (patch)
treead81bc6bbbbf89adee82340b8ea972f2dd2f1fa8 /dynamicdevice.h
parent52eac73927cc0110ea9f93a40186d01564f6d69a (diff)
downloadvdr-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.h3
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);