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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux