cMenuChannelItem Class Reference

Inheritance diagram for cMenuChannelItem:

Inheritance graph
[legend]
Collaboration diagram for cMenuChannelItem:

Collaboration graph
[legend]

List of all members.

Public Types

enum  eChannelSortMode { csmNumber, csmName, csmProvider }

Public Member Functions

 cMenuChannelItem (cChannel *Channel)
virtual int Compare (const cListObject &ListObject) const
virtual void Set (void)
cChannelChannel (void)

Static Public Member Functions

static void SetSortMode (eChannelSortMode SortMode)
static void IncSortMode (void)
static eChannelSortMode SortMode (void)

Private Attributes

cChannelchannel

Static Private Attributes

static eChannelSortMode sortMode = csmNumber


Detailed Description

Definition at line 321 of file menu.c.


Member Enumeration Documentation

enum cMenuChannelItem::eChannelSortMode

Enumerator:
csmNumber 
csmName 
csmProvider 

Definition at line 323 of file menu.c.


Constructor & Destructor Documentation

cMenuChannelItem::cMenuChannelItem ( cChannel Channel  ) 

Definition at line 339 of file menu.c.

References channel, cChannel::GroupSep(), Set(), and cOsdItem::SetSelectable().

Here is the call graph for this function:


Member Function Documentation

static void cMenuChannelItem::SetSortMode ( eChannelSortMode  SortMode  )  [inline, static]

Definition at line 329 of file menu.c.

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

Definition at line 330 of file menu.c.

Referenced by cMenuChannels::Number().

static eChannelSortMode cMenuChannelItem::SortMode ( void   )  [inline, static]

Definition at line 331 of file menu.c.

Referenced by cMenuChannels::Setup().

int cMenuChannelItem::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 347 of file menu.c.

References channel, csmName, csmNumber, csmProvider, cChannel::Name(), cChannel::Number(), cChannel::Provider(), and sortMode.

Here is the call graph for this function:

void cMenuChannelItem::Set ( void   )  [virtual]

Reimplemented from cOsdItem.

Definition at line 360 of file menu.c.

References channel, csmProvider, cChannel::GroupSep(), cChannel::Name(), cChannel::Number(), cChannel::Provider(), cOsdItem::SetText(), and sortMode.

Referenced by cMenuChannelItem().

Here is the call graph for this function:

cChannel* cMenuChannelItem::Channel ( void   )  [inline]

Definition at line 334 of file menu.c.

References cMenuEditChannel::channel.

Referenced by cMenuChannels::GetChannel().


Member Data Documentation

cMenuChannelItem::eChannelSortMode cMenuChannelItem::sortMode = csmNumber [static, private]

Definition at line 325 of file menu.c.

Referenced by Compare(), and Set().

cChannel* cMenuChannelItem::channel [private]

Definition at line 326 of file menu.c.

Referenced by cMenuChannelItem(), Compare(), and Set().


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