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 | Delete (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 * | buttonDelete |
const char * | actionCancel |
const char * | doCut |
const char * | doCopy |
bool | extraAction |
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 2513 of file menu.c.
References actionCancel, cRecording::BaseName(), buttonAction, buttonDelete, buttonFolder, doCopy, doCut, extraAction, 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 2614 of file menu.c.
References actionCancel, cRecordingsHandler::Add(), cRecordings::AddByName(), cString::CompactChars(), cInterface::Confirm(), cRecordingsHandler::Del(), doCopy, doCut, cCutter::EditedFileName(), ExchangeChars(), cRecording::FileName(), folder, FOLDERDELIMCHAR, Interface, cRecording::IsInUse(), MakeDirs(), cSkins::Message(), mtError, cRecording::Name(), name, osContinue, recording, recordingIsInUse, Recordings, RecordingsHandler, RefreshRecording(), ruCopy, ruCut, SetHelpKeys(), Skins, cString::sprintf(), strreplace(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2685 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 2665 of file menu.c.
References buttonDelete, cInterface::Confirm(), cResumeFile::Delete(), cRecording::DeleteMarks(), extraAction, cRecording::FileName(), Interface, cRecording::IsPesRecording(), cSkins::Message(), mtError, osContinue, recording, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2609 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, cRecording::Name(), recording, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2715 of file menu.c.
References Action(), ApplyChanges(), buttonAction, buttonDelete, buttonFolder, Delete(), extraAction, Folder(), cOsdMenu::HasSubMenu(), k0, kBlue, kGreen, kOk, kRed, kYellow, osBack, osContinue, osEnd, osUnknown, cOsdMenu::ProcessKey(), recordingIsInUse, RefreshRecording(), RemoveName(), SetFolder(), and SetHelpKeys().
|
private |
Definition at line 2586 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 2647 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 2537 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 2599 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2560 of file menu.c.
References actionCancel, buttonAction, buttonDelete, buttonFolder, doCopy, doCut, extraAction, cRecording::FileName(), cRecording::HasMarks(), cRecording::IsPesRecording(), recording, recordingIsInUse, ruCopy, ruCut, ruMove, ruPending, cOsdMenu::SetHelp(), and tr.
Referenced by Action(), Delete(), ProcessKey(), and Set().
|
private |
Definition at line 2494 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2492 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2493 of file menu.c.
Referenced by cMenuRecordingEdit(), Delete(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2491 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2496 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2495 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2497 of file menu.c.
Referenced by cMenuRecordingEdit(), Delete(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2485 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), RemoveName(), Set(), and SetFolder().
|
private |
Definition at line 2489 of file menu.c.
Referenced by cMenuRecordingEdit(), Set(), and SetFolder().
|
private |
Definition at line 2488 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2486 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2490 of file menu.c.
Referenced by cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2483 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().
|
private |
Definition at line 2487 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2482 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), Delete(), Folder(), RefreshRecording(), Set(), and SetHelpKeys().
|
private |
Definition at line 2498 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), ProcessKey(), Set(), and SetHelpKeys().
|
private |
Definition at line 2484 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().