From 064797c1d6bdf08dcc0bc9c1195cb765431cca6b Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Fri, 18 Mar 2011 00:08:18 +0100 Subject: add new command ForceDetachDevice, the device will be detached regardless of any receivers or locks --- dynamicdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynamicdevice.h') 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); -- cgit v1.2.3