|
vdr 2.8.1
|
Public Member Functions | |
| cMenuRecordingEdit (const cRecording *Recording) | |
| virtual eOSState | ProcessKey (eKeys Key) override |
| Public Member Functions inherited from cOsdMenu | |
| cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
| virtual | ~cOsdMenu () override |
| virtual bool | NeedsFastResponse (void) override |
| 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) |
| Public Member Functions inherited from cOsdObject | |
| cOsdObject (bool FastResponse=false) | |
| virtual | ~cOsdObject () |
| bool | IsMenu (void) const |
| virtual void | Show (void) |
| Public Member Functions inherited from cList< cOsdItem > | |
| cList (const char *NeedsLocking=NULL) | |
| const cOsdItem * | Get (int Index) const |
| const cOsdItem * | First (void) const |
| const cOsdItem * | Last (void) const |
| const cOsdItem * | Prev (const cOsdItem *Object) const |
| const cOsdItem * | Next (const cOsdItem *Object) const |
| Public Member Functions inherited from cListBase | |
| 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 | DeleteMarks (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 |
| int | parentalRating |
| cMenuEditStrItem * | folderItem |
| cMenuEditStrItem * | nameItem |
| const char * | buttonFolder |
| const char * | buttonAction |
| const char * | buttonDeleteMarks |
| const char * | actionCancel |
| const char * | doCut |
| int | recordingIsInUse |
Additional Inherited Members | |
| Protected Member Functions inherited from cOsdMenu | |
| 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) |
| int | VisibleItem (int Idx) |
| 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) |
| Protected Member Functions inherited from cOsdObject | |
| void | SetNeedsFastResponse (bool NeedsFastResponse) |
| Protected Member Functions inherited from cListBase | |
| cListBase (const char *NeedsLocking=NULL) | |
| Protected Attributes inherited from cListBase | |
| cListObject * | objects |
| cListObject * | lastObject |
| int | count |
| cStateLock | stateLock |
| const char * | needsLocking |
| bool | useGarbageCollector |
| cMenuRecordingEdit::cMenuRecordingEdit | ( | const cRecording * | Recording | ) |
Definition at line 2699 of file menu.c.
References actionCancel, buttonAction, buttonDeleteMarks, buttonFolder, cOsdMenu::cOsdMenu(), doCut, folder, folderItem, lifetime, mcRecordingEdit, name, nameItem, originalFileName, parentalRating, priority, recording, recordingIsInUse, ruNone, Set(), cOsdMenu::SetMenuCategory(), strn0cpy(), and tr.
|
private |
Definition at line 2796 of file menu.c.
References actionCancel, doCut, cCutter::EditedFileName(), EnoughFreeDiskSpaceForEdit(), Interface, mtError, osContinue, recording, recordingIsInUse, RecordingsHandler, RefreshRecording(), ruCut, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2851 of file menu.c.
References cRecording::ChangeName(), cRecording::ChangePriorityLifetime(), cString::CompactChars(), cRecording::Folder(), folder, FOLDERDELIMCHAR, cRecordings::GetByName(), cRecordings::GetRecordingsWrite(), cRecording::Info(), lifetime, mtError, mtWarning, cRecording::Name(), name, osBack, osContinue, osUserRecMoved, osUserRecRenamed, parentalRating, priority, recording, cStateKey::Remove(), cRecordingInfo::SetParentalRating(), Skins, cString::sprintf(), cRecordings::TouchUpdate(), tr, and cRecording::WriteInfo().
Referenced by ProcessKey().
|
private |
Definition at line 2832 of file menu.c.
References buttonDeleteMarks, cControl::Control(), cMarks::DeleteMarksFile(), Interface, mtError, osContinue, recording, SetHelpKeys(), Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2791 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, recording, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2906 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 2766 of file menu.c.
References cRecordings::GetRecordingsRead(), mtWarning, originalFileName, recording, recordingsStateKey, Set(), Skins, and tr.
Referenced by Action(), and ProcessKey().
|
private |
Definition at line 2814 of file menu.c.
References cOsdMenu::Current(), folder, FOLDERDELIMCHAR, cList< cOsdItem >::Get(), Interface, name, nameItem, osContinue, Set(), strn0cpy(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2721 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cOsdMenu::Current(), cOsdMenu::current, cOsdMenu::Display(), folder, folderItem, cList< cOsdItem >::Get(), lifetime, MAXLIFETIME, MAXPARENTALRATING, MAXPRIORITY, name, nameItem, osUnknown, parentalRating, priority, recording, recordingIsInUse, cOsdMenu::SetCurrent(), SetHelpKeys(), cOsdItem::SetSelectable(), and tr.
Referenced by cMenuRecordingEdit(), RefreshRecording(), and RemoveName().
|
private |
Definition at line 2781 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2746 of file menu.c.
References actionCancel, buttonAction, buttonDeleteMarks, buttonFolder, doCut, recording, recordingIsInUse, ruCopy, ruCut, ruMove, ruPending, cOsdMenu::SetHelp(), and tr.
Referenced by Action(), DeleteMarks(), and Set().
|
private |
Definition at line 2682 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2680 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2681 of file menu.c.
Referenced by cMenuRecordingEdit(), DeleteMarks(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2679 of file menu.c.
Referenced by cMenuRecordingEdit(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 2683 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), and SetHelpKeys().
|
private |
Definition at line 2672 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), RemoveName(), Set(), and SetFolder().
|
private |
Definition at line 2677 of file menu.c.
Referenced by cMenuRecordingEdit(), Set(), and SetFolder().
|
private |
Definition at line 2675 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2673 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2678 of file menu.c.
Referenced by cMenuRecordingEdit(), RemoveName(), and Set().
|
private |
Definition at line 2670 of file menu.c.
Referenced by cMenuRecordingEdit(), and RefreshRecording().
|
private |
Definition at line 2676 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2674 of file menu.c.
Referenced by ApplyChanges(), cMenuRecordingEdit(), and Set().
|
private |
Definition at line 2669 of file menu.c.
Referenced by Action(), ApplyChanges(), cMenuRecordingEdit(), DeleteMarks(), Folder(), RefreshRecording(), Set(), and SetHelpKeys().
|
private |
Definition at line 2684 of file menu.c.
Referenced by Action(), cMenuRecordingEdit(), ProcessKey(), Set(), and SetHelpKeys().
|
private |
Definition at line 2671 of file menu.c.
Referenced by RefreshRecording().