vdr 2.7.7
|
#include <menu.h>
Public Member Functions | |
cMenuEditTimer (cTimer *Timer, bool New=false) | |
virtual | ~cMenuEditTimer () override |
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) |
Static Public Member Functions | |
static const cTimer * | AddedTimer (void) |
Private Member Functions | |
eOSState | SetFolder (void) |
void | SetFirstDayItem (void) |
void | SetPatternItem (bool Initial=false) |
void | SetHelpKeys (void) |
Private Attributes | |
cTimer * | timer |
cTimer | data |
int | channel |
bool | addIfConfirmed |
cStringList | svdrpServerNames |
char | remote [HOST_NAME_MAX] |
cMenuEditStrItem * | pattern |
cMenuEditStrItem * | file |
cMenuEditDateItem * | day |
cMenuEditDateItem * | firstday |
Static Private Attributes | |
static const cTimer * | addedTimer = NULL |
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) |
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 |
cMenuEditTimer::cMenuEditTimer | ( | cTimer * | Timer, |
bool | New = false ) |
Definition at line 1017 of file menu.c.
References cOsdMenu::Add(), addedTimer, addIfConfirmed, channel, cOsdMenu::cOsdMenu(), data, day, file, firstday, GetSVDRPServerNames(), MAXLIFETIME, MAXPRIORITY, mcTimerEdit, pattern, remote, SetFirstDayItem(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), SetPatternItem(), strn0cpy(), svdrpServerNames, tfActive, tfVps, timer, and tr.
|
overridevirtual |
Definition at line 1056 of file menu.c.
References addIfConfirmed, and timer.
|
static |
Definition at line 1062 of file menu.c.
References addedTimer.
Referenced by cMenuTimers::cMenuTimers(), and cMenuTimers::ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 1148 of file menu.c.
References addedTimer, addIfConfirmed, cOsdMenu::AddSubMenu(), channel, data, day, cOsdMenu::Display(), Folders, HandleRemoteModifications(), cOsdMenu::HasSubMenu(), kBlue, kGreen, kNone, kOk, kRed, kYellow, LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_WRITE, mtError, mtWarning, osBack, osContinue, osEnd, osUnknown, cOsdMenu::ProcessKey(), remote, cOsdMenu::SetCurrent(), SetFirstDayItem(), SetFolder(), SetHelpKeys(), SetPatternItem(), Skins, StateKeySVDRPRemoteTimersPoll, cRecordControls::Stop(), timer, and tr.
|
private |
Definition at line 1074 of file menu.c.
References cOsdMenu::Add(), data, cOsdMenu::Del(), cOsdMenu::Display(), firstday, and tr.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 1117 of file menu.c.
References cOsdMenu::CloseSubMenu(), data, cOsdMenu::Display(), file, FOLDERDELIMCHAR, isempty(), cOsdMenu::SetCurrent(), cString::sprintf(), strgetlast(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 1069 of file menu.c.
References data, cOsdMenu::SetHelp(), and tr.
Referenced by cMenuEditTimer(), ProcessKey(), and SetPatternItem().
|
private |
Definition at line 1087 of file menu.c.
References data, cOsdMenu::Del(), cOsdMenu::Display(), file, FOLDERDELIMCHAR, cOsdMenu::Ins(), mtWarning, pattern, SetHelpKeys(), Skins, strgetlast(), strn0cpy(), tfRecording, TimerFileMacros, TimerFileMacrosForPattern, and tr.
Referenced by cMenuEditTimer(), and ProcessKey().
|
staticprivate |
Definition at line 75 of file menu.h.
Referenced by AddedTimer(), cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 79 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), and ~cMenuEditTimer().
|
private |
Definition at line 78 of file menu.h.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 77 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), SetFirstDayItem(), SetFolder(), SetHelpKeys(), and SetPatternItem().
|
private |
Definition at line 84 of file menu.h.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 83 of file menu.h.
Referenced by cMenuEditTimer(), SetFolder(), and SetPatternItem().
|
private |
Definition at line 85 of file menu.h.
Referenced by cMenuEditTimer(), and SetFirstDayItem().
|
private |
Definition at line 82 of file menu.h.
Referenced by cMenuEditTimer(), and SetPatternItem().
|
private |
Definition at line 81 of file menu.h.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 80 of file menu.h.
Referenced by cMenuEditTimer().
|
private |
Definition at line 76 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), and ~cMenuEditTimer().