cMenuWhatsOn Class Reference

Inheritance diagram for cMenuWhatsOn:

Inheritance graph
[legend]
Collaboration diagram for cMenuWhatsOn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuWhatsOn (const cSchedules *Schedules, bool Now, int CurrentChannelNr)
virtual eOSState ProcessKey (eKeys Key)

Static Public Member Functions

static int CurrentChannel (void)
static void SetCurrentChannel (int ChannelNr)
static const cEventScheduleEvent (void)

Private Member Functions

eOSState Record (void)
eOSState Switch (void)
bool Update (void)
void SetHelpKeys (void)

Private Attributes

bool now
int helpKeys
int timerState

Static Private Attributes

static int currentChannel = 0
static const cEventscheduleEvent = NULL


Detailed Description

Definition at line 1066 of file menu.c.


Constructor & Destructor Documentation

cMenuWhatsOn::cMenuWhatsOn ( const cSchedules Schedules,
bool  Now,
int  CurrentChannelNr 
)

Definition at line 1088 of file menu.c.

References cOsdMenu::Add(), Channels, currentChannel, cOsdMenu::Display(), cList< T >::First(), cSchedule::GetFollowingEvent(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), helpKeys, cTimers::Modified(), cList< T >::Next(), now, SetHelpKeys(), Timers, and timerState.

Here is the call graph for this function:


Member Function Documentation

eOSState cMenuWhatsOn::Record ( void   )  [private]

Definition at line 1158 of file menu.c.

References cListBase::Add(), cOsdMenu::AddSubMenu(), cOsdMenu::CloseSubMenu(), cOsdMenu::Current(), cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cTimers::GetMatch(), cTimers::GetTimer(), cOsdMenu::HasSubMenu(), isyslog, cTimer::Matches(), NEWTIMERLIMIT, osContinue, SetHelpKeys(), cTimers::SetModified(), cMenuScheduleItem::timerMatch, Timers, tmFull, tmNone, cTimer::ToDescr(), and Update().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuWhatsOn::Switch ( void   )  [private]

Definition at line 1146 of file menu.c.

References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cSkins::Message(), mtError, osContinue, osEnd, cDevice::PrimaryDevice(), Skins, cDevice::SwitchChannel(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

bool cMenuWhatsOn::Update ( void   )  [private]

Definition at line 1110 of file menu.c.

References cList< cOsdItem >::First(), cTimers::Modified(), cList< cOsdItem >::Next(), Timers, and timerState.

Referenced by ProcessKey(), and Record().

Here is the call graph for this function:

void cMenuWhatsOn::SetHelpKeys ( void   )  [private]

Definition at line 1122 of file menu.c.

References cOsdMenu::Current(), cList< cOsdItem >::Get(), helpKeys, now, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.

Referenced by cMenuWhatsOn(), ProcessKey(), and Record().

Here is the call graph for this function:

static int cMenuWhatsOn::CurrentChannel ( void   )  [inline, static]

Definition at line 1079 of file menu.c.

Referenced by cMenuSchedule::ProcessKey().

static void cMenuWhatsOn::SetCurrentChannel ( int  ChannelNr  )  [inline, static]

Definition at line 1080 of file menu.c.

Referenced by cMenuSchedule::cMenuSchedule().

const cEvent * cMenuWhatsOn::ScheduleEvent ( void   )  [static]

Definition at line 1139 of file menu.c.

References scheduleEvent.

Referenced by cMenuSchedule::ProcessKey(), and cMenuSchedule::~cMenuSchedule().

eOSState cMenuWhatsOn::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdMenu.

Definition at line 1191 of file menu.c.

References cOsdMenu::AddSubMenu(), cMenuScheduleItem::channel, cListBase::Count(), cOsdMenu::Current(), currentChannel, cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), kBlue, kGreen, kNone, kOk, kRecord, kRed, kYellow, cChannel::Number(), osBack, osUnknown, cOsdMenu::ProcessKey(), Record(), scheduleEvent, SetHelpKeys(), Switch(), and Update().

Here is the call graph for this function:


Member Data Documentation

bool cMenuWhatsOn::now [private]

Definition at line 1068 of file menu.c.

Referenced by cMenuWhatsOn(), and SetHelpKeys().

int cMenuWhatsOn::helpKeys [private]

Definition at line 1069 of file menu.c.

Referenced by cMenuWhatsOn(), and SetHelpKeys().

int cMenuWhatsOn::timerState [private]

Definition at line 1070 of file menu.c.

Referenced by cMenuWhatsOn(), and Update().

int cMenuWhatsOn::currentChannel = 0 [static, private]

Definition at line 1073 of file menu.c.

Referenced by cMenuWhatsOn(), and ProcessKey().

const cEvent * cMenuWhatsOn::scheduleEvent = NULL [static, private]

Definition at line 1074 of file menu.c.

Referenced by ProcessKey(), and ScheduleEvent().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:20:38 2007 for VDR by  doxygen 1.5.3-20071008