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]

 



Wolfgang Rohdewald wrote:
> On Sonntag 18 Dezember 2005 17:40, Klaus Schmidinger wrote:
> 
>>   void Recording(const cDevice *Device, const char *Name, const char *FileName)
>>
>>which extends the interface to hold a second parameter that contains
>>the actual file name (or NULL, if there is none), but would break plugins
>>st compile time.
> 
> 
> maybe 
> 
> void Recording(const cDevice *Device, const char *Name, const char *FileName=0)
> 
> would reduce the needed plugin changes?

No, because this is a virtual function the plugin must actually
_implement_.

The related functions

static void MsgRecording(const cDevice *Device, const char *Name);
static void MsgReplaying(const cControl *Control, const char *Name);

can, of course, have a default value for FileName.

Klaus



[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