diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-02-17 03:41:25 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-02-17 03:41:25 +0100 |
commit | 43df82e98abfdbc0ed36bace8ed1fd2ec3fc821d (patch) | |
tree | bf4d7c5bc367ff6e723356fa59d9742210bddc3d /dynamicdevice.h | |
parent | b59fef0e72038d8f7f9576ceb0cfd2a49983a00b (diff) | |
download | vdr-plugin-dynamite-43df82e98abfdbc0ed36bace8ed1fd2ec3fc821d.tar.gz vdr-plugin-dynamite-43df82e98abfdbc0ed36bace8ed1fd2ec3fc821d.tar.bz2 |
add manual option to set a device into idle mode
dvbdevices should close all their handles and can't be used for epg-scan.
So be careful to not disable all devices or you won't get epg.
A timer or channel-switch should reactivate the device (hopefully).
Diffstat (limited to 'dynamicdevice.h')
-rw-r--r-- | dynamicdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamicdevice.h b/dynamicdevice.h index ed1a352..43df2c8 100644 --- a/dynamicdevice.h +++ b/dynamicdevice.h @@ -35,6 +35,7 @@ public: static eDynamicDeviceReturnCode AttachDevice(const char *DevPath); static eDynamicDeviceReturnCode DetachDevice(const char *DevPath); static eDynamicDeviceReturnCode SetLockDevice(const char *DevPath, bool Lock); + static eDynamicDeviceReturnCode SetIdle(const char *DevPath, bool Idle); static eDynamicDeviceReturnCode SetGetTSTimeout(const char *DevPath, int Seconds); static void SetDefaultGetTSTimeout(int Seconds); static eDynamicDeviceReturnCode SetGetTSTimeoutHandlerArg(const char *DevPath, const char *Arg); |