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

Member Enumeration Documentation


Definition at line 362 of file menu.c.

Constructor & Destructor Documentation

cMenuChannelItem::cMenuChannelItem ( cChannel Channel  ) 

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

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

Definition at line 369 of file menu.c.

Referenced by cMenuChannels::Number().

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

Definition at line 370 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 386 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 399 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 373 of file menu.c.

References cMenuEditChannel::channel.

Referenced by cMenuChannels::GetChannel().

Member Data Documentation

Definition at line 364 of file menu.c.

Referenced by Compare(), and Set().

Definition at line 365 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 4 19:59:25 2008 for VDR by  doxygen 1.5.6