diff options
author | Holger Steinhaus <hsteinhaus@gmx.de> | 2013-09-18 10:05:37 +0200 |
---|---|---|
committer | Holger Steinhaus <hsteinhaus@gmx.de> | 2013-09-18 10:05:37 +0200 |
commit | 58aa9d6ebc3bb122067c72b21af84e51aa655ad0 (patch) | |
tree | 1bd558fa9470194868dde3092be64a76b31dad8f /device.h | |
parent | 4d09442efcd8c158999685831720919a705f3d98 (diff) | |
download | vdr-plugin-mcli-58aa9d6ebc3bb122067c72b21af84e51aa655ad0.tar.gz vdr-plugin-mcli-58aa9d6ebc3bb122067c72b21af84e51aa655ad0.tar.bz2 |
Resolved issue #1504 - compile problems related to overloading of const methods of the cDevice interface
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -48,7 +48,8 @@ class cMcliDevice:public cDevice protected: cPluginMcli *m_mcli; virtual bool SetChannelDevice (const cChannel * Channel, bool LiveView); - virtual bool HasLock (int TimeoutMs); + virtual bool HasLock(int TimeoutMs = 0) const; + virtual bool SetPid (cPidHandle * Handle, int Type, bool On); virtual bool OpenDvr (void); virtual void CloseDvr (void); @@ -61,7 +62,6 @@ class cMcliDevice:public cDevice #ifdef GET_TS_PACKETS virtual int GetTSPackets (uchar *, int); #endif - bool IsTunedToTransponderConst (const cChannel * Channel) const; void TranslateTypePos(int &type, int &pos, const int Source) const; @@ -106,7 +106,7 @@ class cMcliDevice:public cDevice virtual bool ProvidesSource (int Source) const; virtual bool ProvidesTransponder (const cChannel * Channel) const; virtual bool ProvidesChannel (const cChannel * Channel, int Priority = -1, bool * NeedsDetachReceivers = NULL) const; - virtual bool IsTunedToTransponder (const cChannel * Channel); + virtual bool IsTunedToTransponder (const cChannel * Channel) const; virtual int HandleTsData (unsigned char *buffer, size_t len); tra_t *GetTenData (void) { |