vdr 2.7.6
|
Public Member Functions | |
cMenuSchedule (void) | |
virtual | ~cMenuSchedule () 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) |
Private Member Functions | |
void | Set (const cTimers *Timers, const cChannels *Channels, const cChannel *Channel=NULL, bool Force=false) |
eOSState | Number (void) |
eOSState | Record (void) |
eOSState | Switch (void) |
bool | PrepareScheduleAllThis (const cTimers *Timers, const cSchedules *Schedules, const cEvent *Event, const cChannel *Channel) |
bool | PrepareScheduleThisThis (const cTimers *Timers, const cSchedules *Schedules, const cEvent *Event, const cChannel *Channel) |
bool | PrepareScheduleThisAll (const cTimers *Timers, const cSchedules *Schedules, const cEvent *Event, const cChannel *Channel) |
bool | PrepareScheduleAllAll (const cTimers *Timers, const cSchedules *Schedules, const cEvent *Event, const cChannel *Channel) |
bool | Update (void) |
void | SetHelpKeys (void) |
Private Attributes | |
cStateKey | timersStateKey |
cStateKey | schedulesStateKey |
int | scheduleState |
bool | now |
bool | next |
bool | canSwitch |
int | helpKeys |
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 |
cMenuSchedule::cMenuSchedule | ( | void | ) |
Definition at line 1885 of file menu.c.
References canSwitch, cOsdMenu::cOsdMenu(), cDevice::CurrentChannel(), helpKeys, LOCK_CHANNELS_READ, LOCK_TIMERS_READ, mcSchedule, next, now, scheduleState, Set(), cMenuWhatsOn::SetCurrentChannel(), cOsdMenu::SetMenuCategory(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, and tr.
|
overridevirtual |
Definition at line 1900 of file menu.c.
References cMenuWhatsOn::ScheduleEvent().
|
private |
Definition at line 2057 of file menu.c.
References cMenuScheduleItem::IncSortMode(), LOCK_CHANNELS_READ, LOCK_TIMERS_READ, osContinue, and Set().
Referenced by ProcessKey().
|
private |
Definition at line 2000 of file menu.c.
References cOsdMenu::Add(), CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSchedules::GetSchedule(), LOCK_CHANNELS_READ, cListObject::Next(), now, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, and tr.
Referenced by Set().
|
private |
Definition at line 1941 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSchedules::GetSchedule(), cChannel::Name(), cListObject::Next(), now, scheduleState, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), and tr.
Referenced by Set().
|
private |
Definition at line 1980 of file menu.c.
References cOsdMenu::Add(), CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSchedules::GetSchedule(), LOCK_CHANNELS_READ, cListObject::Next(), now, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cEvent::Title(), and tr.
Referenced by Set().
|
private |
Definition at line 1960 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSchedules::GetSchedule(), cChannel::Name(), cListObject::Next(), now, scheduleState, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), cEvent::Title(), and tr.
Referenced by Set().
Reimplemented from cOsdMenu.
Definition at line 2121 of file menu.c.
References cOsdMenu::AddSubMenu(), canSwitch, cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuWhatsOn::CurrentChannel(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), k0, k_Repeat, kBlue, kChanDn, kChanUp, kGreen, kInfo, kNone, kOk, kRecord, kRed, kYellow, LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_READ, next, now, Number(), osUnknown, cOsdMenu::ProcessKey(), Record(), cMenuWhatsOn::ScheduleEvent(), Set(), SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Switch(), and Update().
|
private |
Definition at line 2066 of file menu.c.
References cOsdMenu::AddSubMenu(), cOsdMenu::CloseSubMenu(), cOsdMenu::Current(), cOsdMenu::Display(), cList< cOsdItem >::Get(), HandleRemoteModifications(), cOsdMenu::HasSubMenu(), LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_WRITE, cTimer::Matches(), NEWTIMERLIMIT, osContinue, cTimer::Remote(), SetHelpKeys(), cTimer::SetRemote(), Setup, StateKeySVDRPRemoteTimersPoll, tmFull, and Update().
Referenced by ProcessKey().
|
private |
Definition at line 1905 of file menu.c.
References cEvent::ChannelID(), cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), esyslog, cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cChannels::GetByNumber(), cSchedules::GetSchedulesRead(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), schedulesStateKey, scheduleState, cOsdMenu::SetCurrent(), SetHelpKeys(), cListBase::Sort(), cMenuScheduleItem::SortMode(), cMenuScheduleItem::ssmAllAll, cMenuScheduleItem::ssmAllThis, cMenuScheduleItem::ssmThisAll, and cMenuScheduleItem::ssmThisThis.
Referenced by cMenuSchedule(), Number(), and ProcessKey().
|
private |
Definition at line 2032 of file menu.c.
References canSwitch, cEvent::ChannelID(), cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), helpKeys, LOCK_CHANNELS_READ, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.
Referenced by ProcessKey(), Record(), and Set().
|
private |
Definition at line 2104 of file menu.c.
References cEvent::ChannelID(), cOsdMenu::Current(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), LOCK_CHANNELS_READ, mtError, cChannel::Number(), osContinue, osEnd, Skins, and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2019 of file menu.c.
References cList< cOsdItem >::First(), cTimers::GetTimersRead(), cList< cOsdItem >::Next(), timersStateKey, and Update().
Referenced by ProcessKey(), Record(), and Update().
|
private |
Definition at line 1867 of file menu.c.
Referenced by cMenuSchedule(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 1868 of file menu.c.
Referenced by cMenuSchedule(), and SetHelpKeys().
|
private |
Definition at line 1866 of file menu.c.
Referenced by cMenuSchedule(), and ProcessKey().
|
private |
Definition at line 1866 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().
|
private |
|
private |
Definition at line 1865 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllThis(), PrepareScheduleThisThis(), and Set().
|
private |