vdr
2.2.0
|
Public Member Functions | |
cMenuRecordingEdit (cRecording *Recording) | |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
virtual | ~cOsdMenu () |
virtual bool | NeedsFastResponse (void) |
void | SetMenuCategory (eMenuCategory MenuCategory) |
void | SetMenuSortMode (eMenuSortMode MenuSortMode) |
int | Current (void) const |
void | Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL) |
void | Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL) |
virtual void | Display (void) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
![]() | |
cOsdItem * | Get (int Index) const |
cOsdItem * | First (void) const |
cOsdItem * | Last (void) const |
cOsdItem * | Prev (const cOsdItem *object) const |
cOsdItem * | Next (const cOsdItem *object) const |
![]() | |
virtual | ~cListBase () |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
virtual void | Move (int From, int To) |
void | Move (cListObject *From, cListObject *To) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Private Member Functions | |
void | Set (void) |
void | SetHelpKeys (void) |
bool | RefreshRecording (void) |
eOSState | SetFolder (void) |
eOSState | Folder (void) |
eOSState | Action (void) |
eOSState | RemoveName (void) |
eOSState | DeleteMarks (void) |
eOSState | ApplyChanges (void) |
Private Attributes | |
cRecording * | recording |
cString | originalFileName |
int | recordingsState |
char | folder [PATH_MAX] |
char | name [NAME_MAX] |
int | priority |
int | lifetime |
cMenuEditStrItem * | folderItem |
cMenuEditStrItem * | nameItem |
const char * | buttonFolder |
const char * | buttonAction |
const char * | buttonDeleteMarks |
const char * | actionCancel |
const char * | doCut |
int | recordingIsInUse |
Additional Inherited Members | |
![]() | |
void | SetDisplayMenu (void) |
cSkinDisplayMenu * | DisplayMenu (void) |
const char * | hk (const char *s) |
void | SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0) |
void | SetHasHotkeys (bool HasHotkeys=true) |
virtual void | Clear (void) |
const char * | Title (void) |
bool | SelectableItem (int idx) |
void | SetCurrent (cOsdItem *Item) |
void | RefreshCurrent (void) |
void | DisplayCurrent (bool Current) |
void | DisplayItem (cOsdItem *Item) |
void | CursorUp (void) |
void | CursorDown (void) |
void | PageUp (void) |
void | PageDown (void) |
void | Mark (void) |
eOSState | HotKey (eKeys Key) |
eOSState | AddSubMenu (cOsdMenu *SubMenu) |
eOSState | CloseSubMenu (bool ReDisplay=true) |
bool | HasSubMenu (void) |
cOsdMenu * | SubMenu (void) |
void | SetStatus (const char *s) |
void | SetTitle (const char *Title) |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
virtual void | Del (int Index) |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cListBase (void) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cMenuRecordingEdit::cMenuRecordingEdit | ( | cRecording * | Recording | ) |
Definition at line 2340 of file menu.c.
References actionCancel, cRecording::BaseName(), buttonAction, buttonDeleteMarks, buttonFolder, doCut, cRecording::FileName(), cRecording::Folder(), folder, folderItem, cRecording::Lifetime(), lifetime, mcRecordingEdit, name, nameItem, originalFileName, cRecording::Priority(), priority, recording, recordingIsInUse, Recordings, recordingsState, ruNone, Set(), cOsdMenu::SetMenuCategory(), cRecordings::StateChanged(), and strn0cpy().
|
private |
Definition at line 2433 of file menu.c.
References actionCancel, cRecordingsHandler::Add(), cInterface::Confirm(), cRecordingsHandler::Del(), doCut, cCutter::EditedFileName(), cRecording::FileName(), Interface, cRecording::IsInUse(), cSkins::Message(), mtError, osContinue, recording, recordingIsInUse, RecordingsHandler, RefreshRecording(), ruCut, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2478 of file menu.c.
References cRecording::ChangeName(), cRecording::ChangePriorityLifetime(), cString::CompactChars(), cRecording::FileName(), folder, FOLDERDELIMCHAR, cRecording::Lifetime(), lifetime, cSkins::Message(), mtError, cRecording::Name(), name, osBack, osContinue, osUser1, cRecording::Priority(), priority, recording, cMenuRecordings::SetRecording(), Skins, cString::sprintf(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2467 of file menu.c.
References buttonDeleteMarks, cInterface::Confirm(), cRecording::DeleteMarks(), Interface, cSkins::Message(), mtError, osContinue, recording, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2428 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, cRecording::Name(), recording, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2508 of file menu.c.
References Action(), ApplyChanges(), buttonAction, buttonDeleteMarks, buttonFolder, DeleteMarks(), Folder(), cOsdMenu::HasSubMenu(), k0, kGreen, kOk, kRed, kYellow, osBack, osContinue, osEnd, osUnknown, cOsdMenu::ProcessKey(), recordingIsInUse, RefreshRecording(), RemoveName(), and SetFolder().
|
private |
Definition at line 2405 of file menu.c.
References cRecordings::GetByName(), cSkins::Message(), mtWarning, originalFileName, recording, Recordings, recordingsState, Set(), Skins, cRecordings::StateChanged(), and tr.
Referenced by Action(), and ProcessKey().
|
private |
Definition at line 2449 of file menu.c.
References cInterface::Confirm(), cOsdMenu::Current(), folder, FOLDERDELIMCHAR, cList< cOsdItem >::Get(), Interface, name, nameItem, osContinue, Set(), strn0cpy(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2362 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cOsdMenu::current, cOsdMenu::Current(), cOsdMenu::Display(), folder, folderItem, cList< cOsdItem >::Get(), cRecording::IsInUse(), lifetime, MAXLIFETIME, MAXPRIORITY, name, nameItem, osUnknown, priority, recording, recordingIsInUse, cOsdMenu::SetCurrent(), SetHelpKeys(), cOsdItem::SetSelectable(), and tr.
Referenced by cMenuRecordingEdit(), RefreshRecording(), and RemoveName().
|
private |
Definition at line 2418 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2385 of file menu.c.
References actionCancel, buttonAction, buttonDeleteMarks, buttonFolder, doCut, cRecording::HasMarks(), recording, recordingIsInUse, ruCopy, ruCut, ruMove, ruPending, cOsdMenu::SetHelp(), and tr.
Referenced by Action(), DeleteMarks(), and Set().
|
private |
Definition at line 2323 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2321 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2322 of file menu.c.
Referenced by cMenuRecordingEdit(), DeleteMarks(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2320 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2324 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2314 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), RemoveName(), Set(), and SetFolder().
|
private |
Definition at line 2318 of file menu.c.
Referenced by cMenuRecordingEdit(), Set(), and SetFolder().
|
private |
Definition at line 2317 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2315 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2319 of file menu.c.
Referenced by cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2312 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().
|
private |
Definition at line 2316 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2311 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), DeleteMarks(), Folder(), RefreshRecording(), Set(), and SetHelpKeys().
|
private |
Definition at line 2325 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), ProcessKey(), Set(), and SetHelpKeys().
|
private |
Definition at line 2313 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().