vdr  1.7.27
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes
cMenuScheduleItem Class Reference

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 1485 of file menu.c.


Member Enumeration Documentation

Enumerator:
ssmAllThis 
ssmThisThis 
ssmThisAll 
ssmAllAll 

Definition at line 1487 of file menu.c.


Constructor & Destructor Documentation

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

Definition at line 1505 of file menu.c.

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


Member Function Documentation

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 1514 of file menu.c.

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

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

Definition at line 1497 of file menu.c.

References sortMode, ssmAllAll, and ssmAllThis.

Referenced by cMenuSchedule::Number().

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

Definition at line 1496 of file menu.c.

References sortMode, and SortMode().

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

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

Definition at line 1498 of file menu.c.

References sortMode.

Referenced by cMenuSchedule::Number(), and SetSortMode().

bool cMenuScheduleItem::Update ( bool  Force = false)

Member Data Documentation

Definition at line 1492 of file menu.c.

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

Definition at line 1489 of file menu.c.

Referenced by Compare(), IncSortMode(), SetSortMode(), and SortMode().

Definition at line 1493 of file menu.c.

Referenced by cMenuScheduleItem(), and Update().


The documentation for this class was generated from the following file: