cMenuScheduleItem Class Reference

Inheritance diagram for cMenuScheduleItem:

Inheritance graph
[legend]
Collaboration diagram for cMenuScheduleItem:

Collaboration graph
[legend]

List of all members.

Public Types

enum  eScheduleSortMode { ssmAllThis, ssmThisThis, ssmThisAll, ssmAllAll }

Public Member Functions

 cMenuScheduleItem (const cEvent *Event, cChannel *Channel=NULL, bool WithDate=false)
virtual int Compare (const cListObject &ListObject) const
bool Update (bool Force=false)

Static Public Member Functions

static void SetSortMode (eScheduleSortMode SortMode)
static void IncSortMode (void)
static eScheduleSortMode SortMode (void)

Public Attributes

const cEventevent
const cChannelchannel
bool withDate
int timerMatch

Static Private Attributes

static eScheduleSortMode sortMode = ssmAllThis


Detailed Description

Definition at line 1000 of file menu.c.


Member Enumeration Documentation

enum cMenuScheduleItem::eScheduleSortMode

Enumerator:
ssmAllThis 
ssmThisThis 
ssmThisAll 
ssmAllAll 

Definition at line 1002 of file menu.c.


Constructor & Destructor Documentation

cMenuScheduleItem::cMenuScheduleItem ( const cEvent Event,
cChannel Channel = NULL,
bool  WithDate = false 
)

Definition at line 1020 of file menu.c.

References channel, timerMatch, tmNone, Update(), and withDate.

Here is the call graph for this function:


Member Function Documentation

static void cMenuScheduleItem::SetSortMode ( eScheduleSortMode  SortMode  )  [inline, static]

Definition at line 1011 of file menu.c.

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

static void cMenuScheduleItem::IncSortMode ( void   )  [inline, static]

Definition at line 1012 of file menu.c.

Referenced by cMenuSchedule::Number().

static eScheduleSortMode cMenuScheduleItem::SortMode ( void   )  [inline, static]

Definition at line 1013 of file menu.c.

Referenced by cMenuSchedule::Number().

int cMenuScheduleItem::Compare ( const cListObject ListObject  )  const [virtual]

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

Definition at line 1029 of file menu.c.

References event, sortMode, ssmAllThis, cEvent::StartTime(), and cEvent::Title().

Here is the call graph for this function:

bool cMenuScheduleItem::Update ( bool  Force = false  ) 

Definition at line 1042 of file menu.c.

References channel, event, cEvent::GetDateString(), cTimers::GetMatch(), cChannel::Number(), cOsdItem::SetText(), cChannel::ShortName(), timerMatch, TimerMatchChars, Timers, and withDate.

Referenced by cMenuScheduleItem().

Here is the call graph for this function:


Member Data Documentation

cMenuScheduleItem::eScheduleSortMode cMenuScheduleItem::sortMode = ssmAllThis [static, private]

Definition at line 1004 of file menu.c.

Referenced by Compare().

const cEvent* cMenuScheduleItem::event

Definition at line 1006 of file menu.c.

Referenced by Compare(), cMenuSchedule::Number(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), cMenuWhatsOn::Switch(), and Update().

const cChannel* cMenuScheduleItem::channel

Definition at line 1007 of file menu.c.

Referenced by cMenuScheduleItem(), cMenuWhatsOn::ProcessKey(), and Update().

bool cMenuScheduleItem::withDate

Definition at line 1008 of file menu.c.

Referenced by cMenuScheduleItem(), and Update().

int cMenuScheduleItem::timerMatch

Definition at line 1009 of file menu.c.

Referenced by cMenuScheduleItem(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), cMenuSchedule::SetHelpKeys(), cMenuWhatsOn::SetHelpKeys(), and Update().


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