[vdr] Concerns about changing the API-definition of 'cStatus::Replaying()' and 'cStatus::Recording()' of VDR?

Andreas Brachold ml05 at deltab.de
Sun Dec 18 18:04:44 CET 2005


Hi

Am Sonntag, den 18.12.2005, 17:50 +0100 schrieb Wolfgang Rohdewald: 
> maybe 
> 
> void Recording(const cDevice *Device, const char *Name, const char *FileName=0)
> 
> would reduce the needed plugin changes?
> 

Please don't used parameter completion.
Remember a virtual function of a Plugin must always adjusted.

A Plugin could only use a #ifdef for downward compatibility.

Maybe could a pure virtual / abstact interface help to enforce a
compatibility at build time.

virtual void Recording(const cDevice *Device, 
                       const char *Name, 
                       const char *FileName) = 0;

with kind regards,
Andreas






More information about the vdr mailing list