vdr 2.6.4
|
#include <menu.h>
Public Member Functions | |
cMenuEditTimer (cTimer *Timer, bool New=false) | |
virtual | ~cMenuEditTimer () |
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) |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
virtual bool | NeedsFastResponse (void) |
bool | IsMenu (void) const |
virtual void | Show (void) |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
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) |
virtual void | Clear (void) |
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 | |
![]() | |
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 |
cMenuEditTimer::cMenuEditTimer | ( | cTimer * | Timer, |
bool | New = false |
||
) |
Definition at line 1015 of file menu.c.
References cOsdMenu::Add(), addedTimer, addIfConfirmed, channel, cTimer::Channel(), data, day, cTimer::day, file, cTimer::file, firstday, cTimer::flags, GetSVDRPServerNames(), cVector< T >::Insert(), cTimer::lifetime, MAXLIFETIME, MAXPRIORITY, mcTimerEdit, cChannel::Number(), pattern, cTimer::priority, remote, cTimer::remote, SetFirstDayItem(), cTimer::SetFlags(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), SetPatternItem(), cStringList::Sort(), cTimer::start, cTimer::stop, strn0cpy(), svdrpServerNames, tfActive, tfVps, timer, tr, and cTimer::weekdays.
|
virtual |
Definition at line 1054 of file menu.c.
References addIfConfirmed, and timer.
|
static |
Definition at line 1060 of file menu.c.
References addedTimer.
Referenced by cMenuTimers::cMenuTimers(), and cMenuTimers::ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 1146 of file menu.c.
References addedTimer, addIfConfirmed, cOsdMenu::AddSubMenu(), channel, cTimer::channel, cTimer::Channel(), data, day, cOsdMenu::Display(), cTimer::file, Folders, HandleRemoteModifications(), cOsdMenu::HasSubMenu(), cTimer::Id(), cTimer::IsPatternTimer(), kBlue, kGreen, kNone, kOk, kRed, kYellow, cTimer::Local(), LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_WRITE, cTimer::Matches(), cSkins::Message(), mtError, mtWarning, osBack, osContinue, osEnd, osUnknown, cOsdMenu::ProcessKey(), cTimer::Recording(), cTimer::Remote(), remote, cOsdMenu::SetCurrent(), cTimer::SetEvent(), cTimer::SetEventFromSchedule(), SetFirstDayItem(), SetFolder(), SetHelpKeys(), SetPatternItem(), cTimer::SetRemote(), cChannel::ShortName(), Skins, StateKeySVDRPRemoteTimersPoll, cRecordControls::Stop(), timer, cMenuEditDateItem::ToggleRepeating(), tr, and cTimer::TriggerRespawn().
|
private |
Definition at line 1072 of file menu.c.
References cOsdMenu::Add(), data, cTimer::day, cOsdMenu::Del(), cOsdMenu::Display(), firstday, cListObject::Index(), cTimer::IsSingleEvent(), and tr.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 1115 of file menu.c.
References cOsdMenu::CloseSubMenu(), data, cOsdMenu::Display(), file, cTimer::file, FOLDERDELIMCHAR, isempty(), cOsdMenu::SetCurrent(), cString::sprintf(), strgetlast(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 1067 of file menu.c.
References data, cTimer::pattern, cOsdMenu::SetHelp(), tr, and cTimer::weekdays.
Referenced by cMenuEditTimer(), ProcessKey(), and SetPatternItem().
|
private |
Definition at line 1085 of file menu.c.
References data, cOsdMenu::Del(), cOsdMenu::Display(), file, cTimer::file, FOLDERDELIMCHAR, cTimer::HasFlags(), cListObject::Index(), cOsdMenu::Ins(), cSkins::Message(), mtWarning, pattern, cTimer::pattern, SetHelpKeys(), cMenuEditStrItem::SetKeepSpace(), cMenuEditStrItem::SetMacros(), 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().