vdr  1.7.31
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes | List of all members
cMenuScheduleItem Class Reference

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)
- Public Member Functions inherited from cOsdItem
 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
virtual ~cOsdItem ()
bool Selectable (void) const
void SetText (const char *Text, bool Copy=true)
void SetSelectable (bool Selectable)
void SetFresh (bool Fresh)
const char * Text (void) const
virtual void Set (void)
virtual eOSState ProcessKey (eKeys Key)
 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
virtual ~cOsdItem ()
bool Selectable (void) const
void SetText (const char *Text, bool Copy=true)
void SetSelectable (bool Selectable)
void SetFresh (bool Fresh)
const char * Text (void) const
virtual void Set (void)
virtual eOSState ProcessKey (eKeys Key)
- Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const
 cListObject (void)
virtual ~cListObject ()
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

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

Additional Inherited Members

- Protected Attributes inherited from cOsdItem
bool fresh

Detailed Description

Definition at line 1453 of file menu.c.

Member Enumeration Documentation

Enumerator:
ssmAllThis 
ssmThisThis 
ssmThisAll 
ssmAllAll 

Definition at line 1455 of file menu.c.

Constructor & Destructor Documentation

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

Definition at line 1473 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 1482 of file menu.c.

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

static void cMenuScheduleItem::IncSortMode ( void  )
inlinestatic

Definition at line 1465 of file menu.c.

References sortMode, ssmAllAll, and ssmAllThis.

Referenced by cMenuSchedule::Number().

static void cMenuScheduleItem::SetSortMode ( eScheduleSortMode  SortMode)
inlinestatic

Definition at line 1464 of file menu.c.

References sortMode, and SortMode().

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

static eScheduleSortMode cMenuScheduleItem::SortMode ( void  )
inlinestatic

Definition at line 1466 of file menu.c.

References sortMode.

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

bool cMenuScheduleItem::Update ( bool  Force = false)

Member Data Documentation

const cChannel* cMenuScheduleItem::channel

Definition at line 1460 of file menu.c.

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

const cEvent* cMenuScheduleItem::event
cMenuScheduleItem::eScheduleSortMode cMenuScheduleItem::sortMode = ssmAllThis
staticprivate

Definition at line 1457 of file menu.c.

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

int cMenuScheduleItem::timerMatch
bool cMenuScheduleItem::withDate

Definition at line 1461 of file menu.c.

Referenced by cMenuScheduleItem(), and Update().


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