mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
Auto-Update wiki pages
@@ -822,7 +822,7 @@ private:
|
|||||||
int newGreetingTime;
|
int newGreetingTime;
|
||||||
int newUseAlternateGreeting;
|
int newUseAlternateGreeting;
|
||||||
protected:
|
protected:
|
||||||
virtual void Store(void);
|
virtual void Store(void) override;
|
||||||
public:
|
public:
|
||||||
cMenuSetupHello(void);
|
cMenuSetupHello(void);
|
||||||
};
|
};
|
||||||
@@ -1268,7 +1268,7 @@ If a plugin wants to get informed on various events in VDR, it can derive a clas
|
|||||||
|
|
||||||
class cMyStatusMonitor : public cStatus {
|
class cMyStatusMonitor : public cStatus {
|
||||||
protected:
|
protected:
|
||||||
virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView);
|
virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
void cMyStatusMonitor::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView)
|
void cMyStatusMonitor::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView)
|
||||||
@@ -1291,9 +1291,9 @@ private:
|
|||||||
cMyStatusMonitor *statusMonitor;
|
cMyStatusMonitor *statusMonitor;
|
||||||
public:
|
public:
|
||||||
cPluginStatus(void);
|
cPluginStatus(void);
|
||||||
virtual ~cPluginStatus();
|
virtual ~cPluginStatus() override;
|
||||||
...
|
...
|
||||||
virtual bool Start(void);
|
virtual bool Start(void) override;
|
||||||
...
|
...
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1341,10 +1341,10 @@ First you need the actual player class, which is derived from the abstract <tt>c
|
|||||||
|
|
||||||
class cMyPlayer : public cPlayer {
|
class cMyPlayer : public cPlayer {
|
||||||
protected:
|
protected:
|
||||||
virtual void Activate(bool On);
|
virtual void Activate(bool On) override;
|
||||||
public:
|
public:
|
||||||
cMyPlayer(void);
|
cMyPlayer(void);
|
||||||
virtual ~cMyPlayer();
|
virtual ~cMyPlayer() override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1357,11 +1357,11 @@ thread which, e.g., reads data from a file, you can additionally derive your cl
|
|||||||
|
|
||||||
class cMyPlayer : public cPlayer, cThread {
|
class cMyPlayer : public cPlayer, cThread {
|
||||||
protected:
|
protected:
|
||||||
virtual void Activate(bool On);
|
virtual void Activate(bool On) override;
|
||||||
virtual void Action(void);
|
virtual void Action(void) override;
|
||||||
public:
|
public:
|
||||||
cMyPlayer(void);
|
cMyPlayer(void);
|
||||||
virtual ~cMyPlayer();
|
virtual ~cMyPlayer() override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1396,7 +1396,7 @@ requirements in order to set a given track, it can implement the
|
|||||||
following function to allow the device to set a specific track:
|
following function to allow the device to set a specific track:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
virtual void SetAudioTrack(eTrackType Type, const tTrackId *TrackId)
|
virtual void SetAudioTrack(eTrackType Type, const tTrackId *TrackId);
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
A player that has special requirements about audio tracks should announce its
|
A player that has special requirements about audio tracks should announce its
|
||||||
@@ -1419,10 +1419,10 @@ private:
|
|||||||
cMyPlayer *player;
|
cMyPlayer *player;
|
||||||
public:
|
public:
|
||||||
cMyControl(void);
|
cMyControl(void);
|
||||||
virtual ~cMyControl();
|
virtual ~cMyControl() override;
|
||||||
virtual void Hide(void);
|
virtual void Hide(void) override;
|
||||||
virtual cOsdObject *GetInfo(void);
|
virtual cOsdObject *GetInfo(void) override;
|
||||||
virtual eOSState ProcessKey(eKeys Key);
|
virtual eOSState ProcessKey(eKeys Key) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1522,8 +1522,8 @@ object derived from the <tt>cReceiver</tt> class:
|
|||||||
|
|
||||||
class cMyReceiver : public cReceiver, cThread {
|
class cMyReceiver : public cReceiver, cThread {
|
||||||
protected:
|
protected:
|
||||||
virtual void Activate(bool On);
|
virtual void Activate(bool On) override;
|
||||||
virtual void Receive(uchar *Data, int Length);
|
virtual void Receive(uchar *Data, int Length) override;
|
||||||
public:
|
public:
|
||||||
cMyReceiver(int Pid);
|
cMyReceiver(int Pid);
|
||||||
};
|
};
|
||||||
@@ -1589,7 +1589,7 @@ that sets the (initial) filter parameters:
|
|||||||
|
|
||||||
class cMyFilter : public cFilter {
|
class cMyFilter : public cFilter {
|
||||||
protected:
|
protected:
|
||||||
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
|
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length) override;
|
||||||
public:
|
public:
|
||||||
cMyFilter(void);
|
cMyFilter(void);
|
||||||
...
|
...
|
||||||
@@ -1734,13 +1734,13 @@ that provides the handling objects necessary to do the actual work:
|
|||||||
class cMySkin : public cSkin {
|
class cMySkin : public cSkin {
|
||||||
public:
|
public:
|
||||||
cMySkin(void);
|
cMySkin(void);
|
||||||
virtual const char *Description(void);
|
virtual const char *Description(void) override;
|
||||||
virtual cSkinDisplayChannel *DisplayChannel(bool WithInfo);
|
virtual cSkinDisplayChannel *DisplayChannel(bool WithInfo) override;
|
||||||
virtual cSkinDisplayMenu *DisplayMenu(void);
|
virtual cSkinDisplayMenu *DisplayMenu(void) override;
|
||||||
virtual cSkinDisplayReplay *DisplayReplay(bool ModeOnly);
|
virtual cSkinDisplayReplay *DisplayReplay(bool ModeOnly) override;
|
||||||
virtual cSkinDisplayVolume *DisplayVolume(void);
|
virtual cSkinDisplayVolume *DisplayVolume(void) override;
|
||||||
virtual cSkinDisplayTracks *DisplayTracks(const char *Title, int NumTracks, const char * const *Tracks);
|
virtual cSkinDisplayTracks *DisplayTracks(const char *Title, int NumTracks, const char * const *Tracks) override;
|
||||||
virtual cSkinDisplayMessage *DisplayMessage(void);
|
virtual cSkinDisplayMessage *DisplayMessage(void) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1962,7 +1962,7 @@ access the device's OSD:
|
|||||||
class cMyOsdProvider : public cOsdProvider {
|
class cMyOsdProvider : public cOsdProvider {
|
||||||
public:
|
public:
|
||||||
cMyOsdProvider(void);
|
cMyOsdProvider(void);
|
||||||
virtual cOsd *CreateOsd(int Left, int Top);
|
virtual cOsd *CreateOsd(int Left, int Top) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -2027,8 +2027,8 @@ This is where <i>device hooks</i> can be used.
|
|||||||
class cMyDeviceHook : public cDeviceHook {
|
class cMyDeviceHook : public cDeviceHook {
|
||||||
public:
|
public:
|
||||||
cMyDeviceHook(void);
|
cMyDeviceHook(void);
|
||||||
virtual bool DeviceProvidesTransponder(const cDevice *Device, const cChannel *Channel) const;
|
virtual bool DeviceProvidesTransponder(const cDevice *Device, const cChannel *Channel) const override;
|
||||||
virtual bool DeviceProvidesEIT(const cDevice *Device) const;
|
virtual bool DeviceProvidesEIT(const cDevice *Device) const override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -2096,16 +2096,16 @@ from <tt>cPositioner</tt>, as in
|
|||||||
class cMyPositioner : public cPositioner {
|
class cMyPositioner : public cPositioner {
|
||||||
public:
|
public:
|
||||||
cMyPositioner(void);
|
cMyPositioner(void);
|
||||||
virtual void Drive(ePositionerDirection Direction);
|
virtual void Drive(ePositionerDirection Direction) override;
|
||||||
virtual void Step(ePositionerDirection Direction, uint Steps = 1);
|
virtual void Step(ePositionerDirection Direction, uint Steps = 1) override;
|
||||||
virtual void Halt(void);
|
virtual void Halt(void) override;
|
||||||
virtual void SetLimit(ePositionerDirection Direction);
|
virtual void SetLimit(ePositionerDirection Direction) override;
|
||||||
virtual void DisableLimits(void);
|
virtual void DisableLimits(void) override;
|
||||||
virtual void EnableLimits(void);
|
virtual void EnableLimits(void) override;
|
||||||
virtual void StorePosition(uint Number);
|
virtual void StorePosition(uint Number) override;
|
||||||
virtual void RecalcPositions(uint Number);
|
virtual void RecalcPositions(uint Number) override;
|
||||||
virtual void GotoPosition(uint Number, int Longitude);
|
virtual void GotoPosition(uint Number, int Longitude) override;
|
||||||
virtual void GotoAngle(int Longitude);
|
virtual void GotoAngle(int Longitude) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -2134,12 +2134,12 @@ as in
|
|||||||
|
|
||||||
class cMyAudio : public cAudio, private cThread {
|
class cMyAudio : public cAudio, private cThread {
|
||||||
private:
|
private:
|
||||||
virtual void Action(void);
|
virtual void Action(void) override;
|
||||||
public:
|
public:
|
||||||
cMyAudio(void);
|
cMyAudio(void);
|
||||||
virtual void Play(const uchar *Data, int Length, uchar Id);
|
virtual void Play(const uchar *Data, int Length, uchar Id) override;
|
||||||
virtual void Mute(bool On);
|
virtual void Mute(bool On) override;
|
||||||
virtual void Clear(void);
|
virtual void Clear(void) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -2190,10 +2190,10 @@ own remote control class from <tt>cRemote</tt>, as in
|
|||||||
|
|
||||||
class cMyRemote : public cRemote, private cThread {
|
class cMyRemote : public cRemote, private cThread {
|
||||||
private:
|
private:
|
||||||
virtual void Action(void);
|
virtual void Action(void) override;
|
||||||
public:
|
public:
|
||||||
cMyRemote(const char *Name);
|
cMyRemote(const char *Name);
|
||||||
virtual bool Initialize(void);
|
virtual bool Initialize(void) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -2335,7 +2335,7 @@ of the broadcaster's EPG with one from some external database, you could do:
|
|||||||
|
|
||||||
class cMyEpgHandler : public cEpgHandler {
|
class cMyEpgHandler : public cEpgHandler {
|
||||||
public:
|
public:
|
||||||
virtual bool SetDescription(cEvent *Event, const char *Description);
|
virtual bool SetDescription(cEvent *Event, const char *Description) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool cMyEpgHandler::SetDescription(cEvent *Event, const char *Description)
|
bool cMyEpgHandler::SetDescription(cEvent *Event, const char *Description)
|
||||||
@@ -2366,14 +2366,14 @@ as in
|
|||||||
class cMyVideoDirectory : public cVideoDirectory {
|
class cMyVideoDirectory : public cVideoDirectory {
|
||||||
public:
|
public:
|
||||||
cMyVideoDirectory(void);
|
cMyVideoDirectory(void);
|
||||||
virtual ~cMyVideoDirectory();
|
virtual ~cMyVideoDirectory() override;
|
||||||
virtual int FreeMB(int *UsedMB = NULL);
|
virtual int FreeMB(int *UsedMB = NULL) override;
|
||||||
virtual bool Register(const char *FileName);
|
virtual bool Register(const char *FileName) override;
|
||||||
virtual bool Rename(const char *OldName, const char *NewName);
|
virtual bool Rename(const char *OldName, const char *NewName) override;
|
||||||
virtual bool Move(const char *FromName, const char *ToName);
|
virtual bool Move(const char *FromName, const char *ToName) override;
|
||||||
virtual bool Remove(const char *Name);
|
virtual bool Remove(const char *Name) override;
|
||||||
virtual void Cleanup(const char *IgnoreFiles[] = NULL);
|
virtual void Cleanup(const char *IgnoreFiles[] = NULL) override;
|
||||||
virtual bool Contains(const char *Name);
|
virtual bool Contains(const char *Name) override;
|
||||||
};
|
};
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|||||||
@@ -947,9 +947,12 @@ VDR version 2.6.6 added '/' to this list.
|
|||||||
many "Audio language" options which allow you to select the
|
many "Audio language" options which allow you to select the
|
||||||
individual preferred languages.
|
individual preferred languages.
|
||||||
|
|
||||||
Display subtitles = no If set to 'yes', the first available subtitles in the list
|
Display subtitles = no If set to 'always', the first available subtitles in the list
|
||||||
of preferred subtitle languages will be turned on when
|
of preferred subtitle languages will be turned on when
|
||||||
switching to a channel that provides subtitles.
|
switching to a channel or playing a recording that provides
|
||||||
|
subtitles. 'after rewind' turns on subtitles after a fast
|
||||||
|
rewind during replay, and off again when the point where the
|
||||||
|
rewind was started is reached.
|
||||||
|
|
||||||
Subtitle languages = 0 Some tv stations broadcast various subtitle tracks in different
|
Subtitle languages = 0 Some tv stations broadcast various subtitle tracks in different
|
||||||
languages. This option allows you to define which language(s)
|
languages. This option allows you to define which language(s)
|
||||||
|
|||||||
@@ -302,3 +302,4 @@
|
|||||||
| 2.7.2 | 2024-09-27 | 5 |
|
| 2.7.2 | 2024-09-27 | 5 |
|
||||||
| 2.7.3 | 2024-10-12 | 5 |
|
| 2.7.3 | 2024-10-12 | 5 |
|
||||||
| 2.7.4 | 2025-02-26 | 6 |
|
| 2.7.4 | 2025-02-26 | 6 |
|
||||||
|
| 2.7.5 | 2025-04-12 | 7 |
|
||||||
|
|||||||
Reference in New Issue
Block a user