vdr
2.4.7
|
Public Member Functions | |
cMenuRecordingEdit (const 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) |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Next (const cOsdItem *Object) const |
cOsdItem * | Next (const cOsdItem *Object) |
![]() | |
virtual | ~cListBase () |
bool | Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const |
void | SetSyncStateKey (cStateKey &StateKey) |
void | SetUseGarbageCollector (void) |
void | SetExplicitModify (void) |
void | SetModified (void) |
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) |
bool | Contains (const cListObject *Object) const |
const cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
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 | |
const cRecording * | recording |
cString | originalFileName |
cStateKey | recordingsStateKey |
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 (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cMenuRecordingEdit::cMenuRecordingEdit | ( | const cRecording * | Recording | ) |
Definition at line 2605 of file menu.c.
References actionCancel, cRecording::BaseName(), buttonAction, buttonDelete, buttonFolder, doCopy, doCut, extraAction, cRecording::FileName(), cRecording::Folder(), folder, folderItem, lifetime, cRecording::Lifetime(), mcRecordingEdit, name, nameItem, originalFileName, priority, cRecording::Priority(), recording, recordingIsInUse, ruNone, Set(), cOsdMenu::SetMenuCategory(), and strn0cpy().
|
private |
Definition at line 2707 of file menu.c.
References actionCancel, cRecordingsHandler::Add(), cString::CompactChars(), cInterface::Confirm(), cRecordingsHandler::Del(), doCopy, doCut, cCutter::EditedFileName(), ExchangeChars(), cRecording::FileName(), folder, FOLDERDELIMCHAR, Interface, cRecording::IsInUse(), LOCK_RECORDINGS_WRITE, MakeDirs(), cSkins::Message(), mtError, cRecording::Name(), name, osContinue, recording, recordingIsInUse, RecordingsHandler, RefreshRecording(), ruCopy, ruCut, SetHelpKeys(), Skins, cString::sprintf(), strreplace(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2788 of file menu.c.
References cRecording::ChangeName(), cRecording::ChangePriorityLifetime(), cString::CompactChars(), cRecording::FileName(), cRecording::Folder(), folder, FOLDERDELIMCHAR, cRecordings::GetByName(), cRecordings::GetRecordingsWrite(), lifetime, cRecording::Lifetime(), cSkins::Message(), mtError, mtWarning, cRecording::Name(), name, osBack, osContinue, osUserRecMoved, osUserRecRenamed, priority, cRecording::Priority(), recording, cStateKey::Remove(), Skins, cString::sprintf(), cRecordings::TouchUpdate(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2760 of file menu.c.
References buttonDelete, cInterface::Confirm(), cControl::Control(), cResumeFile::Delete(), cMarks::DeleteMarksFile(), extraAction, cRecording::FileName(), Interface, cRecording::IsPesRecording(), cSkins::Message(), mtError, osContinue, recording, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2702 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, cRecording::Name(), recording, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2834 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 2677 of file menu.c.
References cRecordings::GetRecordingsRead(), cSkins::Message(), mtWarning, originalFileName, recording, recordingsStateKey, cStateKey::Remove(), Set(), Skins, and tr.
Referenced by Action(), and ProcessKey().
|
private |
Definition at line 2742 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 2628 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 2692 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2651 of file menu.c.
References actionCancel, buttonAction, buttonDelete, buttonFolder, doCopy, doCut, extraAction, cRecording::FileName(), cRecording::HasMarks(), cRecording::IsPesRecording(), cResumeFile::Read(), recording, recordingIsInUse, ruCopy, ruCut, ruMove, ruPending, cOsdMenu::SetHelp(), and tr.
Referenced by Action(), Delete(), ProcessKey(), and Set().
|
private |
Definition at line 2586 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2584 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2585 of file menu.c.
Referenced by cMenuRecordingEdit(), Delete(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2583 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2588 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2587 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2589 of file menu.c.
Referenced by cMenuRecordingEdit(), Delete(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2577 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), RemoveName(), Set(), and SetFolder().
|
private |
Definition at line 2581 of file menu.c.
Referenced by cMenuRecordingEdit(), Set(), and SetFolder().
|
private |
Definition at line 2580 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2578 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2582 of file menu.c.
Referenced by cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2575 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().
|
private |
Definition at line 2579 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2574 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), Delete(), Folder(), RefreshRecording(), Set(), and SetHelpKeys().
|
private |
Definition at line 2590 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), ProcessKey(), Set(), and SetHelpKeys().
|
private |
Definition at line 2576 of file menu.c.
Referenced by RefreshRecording().