vdr  2.2.0
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)
 
virtual void SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable)
 
- 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)
 
- 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
 

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
 
eTimerMatch timerMatch
 

Static Private Attributes

static eScheduleSortMode sortMode = ssmAllThis
 

Additional Inherited Members

- Protected Attributes inherited from cOsdItem
bool fresh
 

Detailed Description

Definition at line 1527 of file menu.c.

Member Enumeration Documentation

Enumerator
ssmAllThis 
ssmThisThis 
ssmThisAll 
ssmAllAll 

Definition at line 1529 of file menu.c.

Constructor & Destructor Documentation

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

Definition at line 1548 of file menu.c.

References tmNone.

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

References cMenuEvent::event, event, cEvent::StartTime(), and cEvent::Title().

static void cMenuScheduleItem::IncSortMode ( void  )
inlinestatic

Definition at line 1539 of file menu.c.

Referenced by cMenuSchedule::Number().

void cMenuScheduleItem::SetMenuItem ( cSkinDisplayMenu DisplayMenu,
int  Index,
bool  Current,
bool  Selectable 
)
virtual

Reimplemented from cOsdItem.

Definition at line 1594 of file menu.c.

References cMenuEvent::event, cSkinDisplayMenu::SetItem(), and cSkinDisplayMenu::SetItemEvent().

static void cMenuScheduleItem::SetSortMode ( eScheduleSortMode  SortMode)
inlinestatic

Definition at line 1538 of file menu.c.

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

static eScheduleSortMode cMenuScheduleItem::SortMode ( void  )
inlinestatic

Definition at line 1540 of file menu.c.

References cOsdMenu::Current(), cOsdMenu::DisplayMenu(), and sortMode.

Referenced by cMenuSchedule::Number().

bool cMenuScheduleItem::Update ( bool  Force = false)

Member Data Documentation

const cChannel* cMenuScheduleItem::channel

Definition at line 1534 of file menu.c.

Referenced by cMenuWhatsOn::ProcessKey().

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

Definition at line 1531 of file menu.c.

Referenced by SortMode().

eTimerMatch cMenuScheduleItem::timerMatch
bool cMenuScheduleItem::withDate

Definition at line 1535 of file menu.c.


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