summaryrefslogtreecommitdiff
path: root/dynamicdevice.h
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-03-25 21:20:07 +0100
committerLars Hanisch <dvb@flensrocker.de>2011-03-25 21:20:07 +0100
commit59cb96c4c68c1031d713ee36342643378641ca4e (patch)
treec6177a5b57eac5f220ca7e9ffcaee4f7505be38e /dynamicdevice.h
parent2e1250d57513f385d3dbd6527f94d98366c84fc9 (diff)
downloadvdr-plugin-dynamite-59cb96c4c68c1031d713ee36342643378641ca4e.tar.gz
vdr-plugin-dynamite-59cb96c4c68c1031d713ee36342643378641ca4e.tar.bz2
add some OSD functionalityv0.0.6a
Diffstat (limited to 'dynamicdevice.h')
-rw-r--r--dynamicdevice.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dynamicdevice.h b/dynamicdevice.h
index e76a842..b953b97 100644
--- a/dynamicdevice.h
+++ b/dynamicdevice.h
@@ -25,9 +25,11 @@ private:
static cDynamicDevice *dynamicdevice[MAXDEVICES];
public:
static cDvbDeviceProbe *dvbprobe;
+ static bool enableOsdMessages;
static int IndexOf(const char *DevPath, int &NextFreeIndex);
static int NumDynamicDevices(void) { return numDynamicDevices; }
///< Returns the total number of dynamic devices.
+ static cDynamicDevice *GetDynamicDevice(int Index);
static bool ProcessQueuedCommands(void);
static void DetachAllDevices(bool Force);
static cString ListAllDevices(int &ReplyCode); // for SVDRP command LSTD
@@ -48,14 +50,15 @@ private:
time_t getTSWatchdog;
int getTSTimeout;
bool restartSectionHandler;
- const char *GetDevPath(void) const;
void ReadUdevProperties(void);
void InternSetGetTSTimeout(int Seconds);
void InternSetGetTSTimeoutHandlerArg(const char *Arg);
void InternSetLock(bool Lock);
public:
cDynamicDevice();
+ const char *GetDevPath(void) const;
void DeleteSubDevice(void);
+ bool IsDetachable(void) const { return isDetachable; }
virtual bool SetIdleDevice(bool Idle, bool TestOnly);
virtual bool CanScanForEPG(void) const;
protected: