diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-03-18 00:08:18 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-03-18 00:08:18 +0100 |
commit | 064797c1d6bdf08dcc0bc9c1195cb765431cca6b (patch) | |
tree | 32a6fb5822fff734eba34c9c2491945fa15a6b4c /dynamicdevice.h | |
parent | 346ebc85cd43fbf778a200e912bcb6079b611e64 (diff) | |
download | vdr-plugin-dynamite-064797c1d6bdf08dcc0bc9c1195cb765431cca6b.tar.gz vdr-plugin-dynamite-064797c1d6bdf08dcc0bc9c1195cb765431cca6b.tar.bz2 |
add new command ForceDetachDevice, the device will be detached regardless of any receivers or locks
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 d45adaa..e76a842 100644 --- a/dynamicdevice.h +++ b/dynamicdevice.h @@ -33,7 +33,7 @@ public: static cString ListAllDevices(int &ReplyCode); // for SVDRP command LSTD static cString AttachDevicePattern(const char *Pattern); static eDynamicDeviceReturnCode AttachDevice(const char *DevPath); - static eDynamicDeviceReturnCode DetachDevice(const char *DevPath); + static eDynamicDeviceReturnCode DetachDevice(const char *DevPath, bool Force); static eDynamicDeviceReturnCode SetLockDevice(const char *DevPath, bool Lock); static eDynamicDeviceReturnCode SetIdle(const char *DevPath, bool Idle); static eDynamicDeviceReturnCode SetGetTSTimeout(const char *DevPath, int Seconds); |