cMenuChannelItem Class Reference

Inheritance diagram for cMenuChannelItem:

Inheritance graph
Collaboration diagram for cMenuChannelItem:

Collaboration graph

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


Static Private Attributes

static eChannelSortMode sortMode = csmNumber

Detailed Description

Definition at line 298 of file menu.c.

Member Enumeration Documentation


Definition at line 300 of file menu.c.

Constructor & Destructor Documentation

cMenuChannelItem::cMenuChannelItem ( cChannel Channel  ) 

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

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

Definition at line 307 of file menu.c.

Referenced by cMenuChannels::Number().

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

Definition at line 308 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 324 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 337 of file menu.c.

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

Referenced by cMenuChannelItem().

Here is the call graph for this function:

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

Definition at line 311 of file menu.c.

References cMenuEditChannel::channel.

Referenced by cMenuChannels::GetChannel().

Member Data Documentation

Definition at line 302 of file menu.c.

Referenced by Compare(), and Set().

Definition at line 303 of file menu.c.

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

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

Generated on Tue Jan 13 14:29:25 2009 for VDR by  doxygen 1.5.6