1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Made cMenuRecordings::GetRecording() 'protected'

This commit is contained in:
Klaus Schmidinger 2006-03-25 12:17:12 +01:00
parent a4ee22ed85
commit 172e3d6cd5
3 changed files with 7 additions and 2 deletions

View File

@ -1790,3 +1790,6 @@ Jan Lenz <email@JanLenz.de>
Oleg Roitburd <oleg@roitburd.de> Oleg Roitburd <oleg@roitburd.de>
for translating OSD texts to the Russian language for translating OSD texts to the Russian language
Marius Heidenstecker <marius@heidenstecker.de>
for suggesting to make cMenuRecordings::GetRecording() 'protected'

View File

@ -4441,3 +4441,4 @@ Video Disk Recorder Revision History
- Fixed calling a plugin's main menu function while a message is being displayed - Fixed calling a plugin's main menu function while a message is being displayed
(reported by Helmut Auer). (reported by Helmut Auer).
- Updated the Russian OSD texts (thanks to Oleg Roitburd). - Updated the Russian OSD texts (thanks to Oleg Roitburd).
- Made cMenuRecordings::GetRecording() 'protected' (suggested by Marius Heidenstecker).

5
menu.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.h 1.84 2006/02/25 14:39:29 kls Exp $ * $Id: menu.h 1.85 2006/03/25 12:15:19 kls Exp $
*/ */
#ifndef __MENU_H #ifndef __MENU_H
@ -165,13 +165,14 @@ private:
int helpKeys; int helpKeys;
void SetHelpKeys(void); void SetHelpKeys(void);
void Set(bool Refresh = false); void Set(bool Refresh = false);
cRecording *GetRecording(cMenuRecordingItem *Item);
bool Open(bool OpenSubMenus = false); bool Open(bool OpenSubMenus = false);
eOSState Play(void); eOSState Play(void);
eOSState Rewind(void); eOSState Rewind(void);
eOSState Delete(void); eOSState Delete(void);
eOSState Info(void); eOSState Info(void);
eOSState Commands(eKeys Key = kNone); eOSState Commands(eKeys Key = kNone);
protected:
cRecording *GetRecording(cMenuRecordingItem *Item);
public: public:
cMenuRecordings(const char *Base = NULL, int Level = 0, bool OpenSubMenus = false); cMenuRecordings(const char *Base = NULL, int Level = 0, bool OpenSubMenus = false);
~cMenuRecordings(); ~cMenuRecordings();