summaryrefslogtreecommitdiff
path: root/dynamicdevice.h
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-12-04 14:09:59 +0100
committerLars Hanisch <dvb@flensrocker.de>2011-12-04 14:09:59 +0100
commitf140391bee64a89b7bd91230b1ea0b356cc43768 (patch)
tree2215f153838877d0bb162c34cda2fffa3159cd0e /dynamicdevice.h
parentf56577250ffac3ed2aa04b75ea4cfe2d0bf1d0e8 (diff)
downloadvdr-plugin-dynamite-f140391bee64a89b7bd91230b1ea0b356cc43768.tar.gz
vdr-plugin-dynamite-f140391bee64a89b7bd91230b1ea0b356cc43768.tar.bz2
allow disable of auto-idle per device via Service/SVDRP/udevv0.0.8d
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 500c40b..e8acb9d 100644
--- a/dynamicdevice.h
+++ b/dynamicdevice.h
@@ -42,6 +42,7 @@ public:
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 SetAutoIdle(const char *DevPath, bool Disable);
static void AutoIdle(void);
static eDynamicDeviceReturnCode SetGetTSTimeout(const char *DevPath, int Seconds);
static void SetDefaultGetTSTimeout(int Seconds);
@@ -55,7 +56,7 @@ private:
bool isDetachable;
time_t getTSWatchdog;
int getTSTimeout;
- bool restartSectionHandler;
+ bool disableAutoIdle;
time_t lastCloseDvr; // for auto-idle
time_t idleSince;
void ReadUdevProperties(void);