vdr 2.7.2
|
Public Member Functions | |
cMenuTimers (void) | |
virtual | ~cMenuTimers () |
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) |
eOSState | Edit (void) |
eOSState | New (void) |
eOSState | Delete (void) |
eOSState | OnOff (void) |
eOSState | Info (void) |
cTimer * | GetTimer (void) |
void | SetHelpKeys (void) |
Private Attributes | |
cStateKey | timersStateKey |
int | helpKeys |
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 |
cMenuTimers::cMenuTimers | ( | void | ) |
Definition at line 1318 of file menu.c.
References cMenuEditTimer::AddedTimer(), helpKeys, mcTimer, Set(), and cOsdMenu::SetMenuCategory().
|
private |
Definition at line 1419 of file menu.c.
References cInterface::Confirm(), cOsdMenu::Current(), cOsdMenu::Del(), cTimers::Del(), cOsdMenu::Display(), GetTimer(), cTimers::GetTimersWrite(), HandleRemoteModifications(), Interface, osContinue, cRecordControls::Process(), cTimer::Recording(), cTimer::Remote(), cStateKey::Remove(), cListBase::SetSyncStateKey(), cTimer::Skip(), StateKeySVDRPRemoteTimersPoll, timersStateKey, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 1402 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), GetTimer(), cOsdMenu::HasSubMenu(), and osContinue.
Referenced by ProcessKey().
|
private |
Definition at line 1351 of file menu.c.
References cOsdMenu::Current(), cList< cOsdItem >::Get(), and cMenuTimerItem::Timer().
Referenced by Delete(), Edit(), Info(), OnOff(), Set(), and SetHelpKeys().
|
private |
Definition at line 1451 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cTimer::Event(), GetTimer(), cOsdMenu::HasSubMenu(), LOCK_CHANNELS_READ, LOCK_TIMERS_READ, and osContinue.
Referenced by ProcessKey().
|
private |
Definition at line 1409 of file menu.c.
References cOsdMenu::AddSubMenu(), cOsdMenu::HasSubMenu(), osContinue, cTimer::SetRemote(), Setup, cSetup::SVDRPDefaultHost, and cSetup::SVDRPPeering.
Referenced by ProcessKey().
|
private |
Definition at line 1372 of file menu.c.
References cOsdMenu::DisplayCurrent(), ExecSVDRPCommand(), cTimer::FirstDay(), GetTimer(), cTimers::GetTimersWrite(), cTimer::HasFlags(), cOsdMenu::HasSubMenu(), cTimer::Id(), isyslog, LOCK_SCHEDULES_READ, cTimer::OnOff(), osContinue, cTimer::PrintFirstDay(), cOsdMenu::RefreshCurrent(), cTimer::Remote(), RemoteTimerError(), cStateKey::Remove(), cTimer::SetEventFromSchedule(), cListBase::SetSyncStateKey(), cString::sprintf(), StateKeySVDRPRemoteTimersPoll, SVDRPCode(), tfActive, cTimer::ToDescr(), and cTimer::ToText().
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 1463 of file menu.c.
References cOsdMenu::Add(), cMenuEditTimer::AddedTimer(), Delete(), cOsdMenu::Display(), Edit(), cOsdMenu::HasSubMenu(), Info(), kBlue, kGreen, kInfo, kNone, kOk, kRed, kYellow, LOCK_TIMERS_READ, New(), OnOff(), osUnknown, cOsdMenu::ProcessKey(), Set(), cOsdMenu::SetCurrent(), SetHelpKeys(), and cListBase::Sort().
|
private |
Definition at line 1331 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cOsdMenu::Display(), cList< cOsdItem >::First(), GetTimer(), cTimers::GetTimersRead(), cTimer::Id(), cListObject::Next(), cTimer::Remote(), cStateKey::Remove(), cOsdMenu::SetCurrent(), SetHelpKeys(), cListBase::Sort(), and timersStateKey.
Referenced by cMenuTimers(), and ProcessKey().
|
private |
Definition at line 1357 of file menu.c.
References GetTimer(), helpKeys, cOsdMenu::SetHelp(), and tr.
Referenced by ProcessKey(), and Set().
|
private |
Definition at line 1303 of file menu.c.
Referenced by cMenuTimers(), and SetHelpKeys().
|
private |