Bug #1380 ยป extrecmenu_move_rename.diff
| mymenurecordings.c | ||
|---|---|---|
|
myMenuRecordingInfo(const cRecording *Recording,bool WithButtons = false);
|
||
|
virtual void Display(void);
|
||
|
virtual eOSState ProcessKey(eKeys Key);
|
||
|
virtual ~myMenuRecordingInfo(void);
|
||
|
#ifdef USE_GRAPHTFT
|
||
|
virtual const char* MenuKind(){return "MenuExtRecording";}
|
||
|
#endif
|
||
| ... | ... | |
|
SetMenuCategory(mcRecordingInfo);
|
||
|
}
|
||
|
#endif
|
||
|
recording=Recording;
|
||
|
recording = new cRecording(Recording->FileName());
|
||
|
withButtons=WithButtons;
|
||
|
if(withButtons)
|
||
|
SetHelp(tr("Button$Play"),tr("Button$Rewind"),NULL,tr("Button$Back"));
|
||
| ... | ... | |
|
return state;
|
||
|
}
|
||
|
myMenuRecordingInfo::~myMenuRecordingInfo(void) {
|
||
|
delete recording;
|
||
|
}
|
||
|
// --- myMenuRecordingsItem ---------------------------------------------------
|
||
|
myMenuRecordingsItem::myMenuRecordingsItem(cRecording *Recording,int Level)
|
||
|
{
|
||
|
#if VDRVERSNUM >= 10733
|
||
|
recording=Recording;
|
||
|
recording=new cRecording(Recording->FileName());;
|
||
|
#endif
|
||
|
totalentries=newentries=0;
|
||
|
isdvd=false;
|
||
| ... | ... | |
|
myMenuRecordingsItem::~myMenuRecordingsItem()
|
||
|
{
|
||
|
delete recording;
|
||
|
free(title);
|
||
|
free(name);
|
||
|
}
|
||