vdr 2.6.1
|
Public Member Functions | |
cMenuWhatsOn (const cTimers *Timers, const cChannels *Channels, const cSchedules *Schedules, bool Now, int CurrentChannelNr) | |
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) |
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) |
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) | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Next (const cOsdItem *Object) const |
cOsdItem * | Next (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) |
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 int | CurrentChannel (void) |
static void | SetCurrentChannel (int ChannelNr) |
static const cEvent * | ScheduleEvent (void) |
Private Member Functions | |
eOSState | Record (void) |
eOSState | Switch (void) |
bool | Update (void) |
void | SetHelpKeys (const cChannels *Channels) |
Private Attributes | |
bool | now |
bool | canSwitch |
int | helpKeys |
cStateKey | timersStateKey |
Static Private Attributes | |
static int | currentChannel = 0 |
static const cEvent * | scheduleEvent = 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 | 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) |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
cListBase (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cMenuWhatsOn::cMenuWhatsOn | ( | const cTimers * | Timers, |
const cChannels * | Channels, | ||
const cSchedules * | Schedules, | ||
bool | Now, | ||
int | CurrentChannelNr | ||
) |
Definition at line 1658 of file menu.c.
References cOsdMenu::Add(), canSwitch, currentChannel, cOsdMenu::Display(), cList< T >::First(), cSchedules::GetSchedule(), helpKeys, mcScheduleNext, mcScheduleNow, cList< T >::Next(), now, SetHelpKeys(), and cOsdMenu::SetMenuCategory().
|
inlinestatic |
Definition at line 1649 of file menu.c.
References currentChannel.
Referenced by cMenuSchedule::ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 1784 of file menu.c.
References cOsdMenu::AddSubMenu(), canSwitch, cMenuScheduleItem::channel, cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), currentChannel, cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::First(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), k_Repeat, kBlue, kChanDn, kChanUp, kGreen, kInfo, kNone, kOk, kRecord, kRed, kYellow, LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_READ, cList< cOsdItem >::Next(), cChannel::Number(), osBack, osUnknown, cOsdMenu::ProcessKey(), Record(), scheduleEvent, cOsdMenu::SetCurrent(), SetHelpKeys(), Switch(), and Update().
|
private |
Definition at line 1743 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, cSetup::SVDRPDefaultHost, cSetup::SVDRPPeering, tmFull, and Update().
Referenced by ProcessKey().
|
static |
Definition at line 1719 of file menu.c.
References scheduleEvent.
Referenced by cMenuSchedule::ProcessKey(), and cMenuSchedule::~cMenuSchedule().
|
inlinestatic |
Definition at line 1650 of file menu.c.
References currentChannel.
Referenced by cMenuSchedule::cMenuSchedule().
|
private |
Definition at line 1691 of file menu.c.
References canSwitch, cEvent::ChannelID(), cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), helpKeys, now, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.
Referenced by cMenuWhatsOn(), ProcessKey(), and Record().
|
private |
Definition at line 1726 of file menu.c.
References cEvent::ChannelID(), cOsdMenu::Current(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), LOCK_CHANNELS_READ, cSkins::Message(), mtError, osContinue, osEnd, cDevice::PrimaryDevice(), Skins, cDevice::SwitchChannel(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 1678 of file menu.c.
References cList< cOsdItem >::First(), cTimers::GetTimersRead(), cList< cOsdItem >::Next(), cStateKey::Remove(), and timersStateKey.
Referenced by ProcessKey(), and Record().
|
private |
Definition at line 1638 of file menu.c.
Referenced by cMenuWhatsOn(), ProcessKey(), and SetHelpKeys().
|
staticprivate |
Definition at line 1643 of file menu.c.
Referenced by cMenuWhatsOn(), CurrentChannel(), ProcessKey(), and SetCurrentChannel().
|
private |
Definition at line 1639 of file menu.c.
Referenced by cMenuWhatsOn(), and SetHelpKeys().
|
private |
Definition at line 1637 of file menu.c.
Referenced by cMenuWhatsOn(), and SetHelpKeys().
|
staticprivate |
Definition at line 1644 of file menu.c.
Referenced by ProcessKey(), and ScheduleEvent().
|
private |