cMenuChannels Class Reference

Inheritance diagram for cMenuChannels:

Inheritance graph
[legend]
Collaboration diagram for cMenuChannels:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuChannels (void)
 ~cMenuChannels ()
virtual eOSState ProcessKey (eKeys Key)

Protected Member Functions

eOSState Number (eKeys Key)
eOSState Switch (void)
eOSState Edit (void)
eOSState New (void)
eOSState Delete (void)
virtual void Move (int From, int To)

Private Member Functions

void Setup (void)
cChannelGetChannel (int Index)
void Propagate (void)

Private Attributes

int number
cTimeMs numberTimer


Detailed Description

Definition at line 378 of file menu.c.


Constructor & Destructor Documentation

cMenuChannels::cMenuChannels ( void   ) 

Definition at line 398 of file menu.c.

References Channels, cChannels::IncBeingEdited(), number, and Setup().

Here is the call graph for this function:

cMenuChannels::~cMenuChannels (  ) 

Definition at line 406 of file menu.c.

References Channels, and cChannels::DecBeingEdited().

Here is the call graph for this function:


Member Function Documentation

void cMenuChannels::Setup ( void   )  [private]

Definition at line 411 of file menu.c.

References cOsdMenu::Add(), Channels, cOsdMenu::Clear(), cMenuChannelItem::csmNumber, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), cList< T >::First(), cChannels::GetByNumber(), GetChannel(), cList< T >::Next(), cOsdMenu::SetCurrent(), cOsdMenu::SetHelp(), cListBase::Sort(), cMenuChannelItem::SortMode(), and tr.

Referenced by cMenuChannels(), and Number().

Here is the call graph for this function:

cChannel * cMenuChannels::GetChannel ( int  Index  )  [private]

Definition at line 433 of file menu.c.

References cMenuChannelItem::Channel(), and cList< cOsdItem >::Get().

Referenced by Delete(), Edit(), Move(), New(), Setup(), and Switch().

Here is the call graph for this function:

void cMenuChannels::Propagate ( void   )  [private]

Definition at line 439 of file menu.c.

References Channels, cOsdMenu::Display(), cList< cOsdItem >::First(), cListObject::Next(), cChannels::ReNumber(), and cChannels::SetModified().

Referenced by Delete(), and Move().

Here is the call graph for this function:

eOSState cMenuChannels::Number ( eKeys  Key  )  [protected]

Definition at line 448 of file menu.c.

References CHANNELNUMBERTIMEOUT, cOsdMenu::Display(), cList< cOsdItem >::First(), cOsdMenu::HasSubMenu(), cMenuChannelItem::IncSortMode(), k0, cListObject::Next(), number, numberTimer, osContinue, cTimeMs::Set(), cOsdMenu::SetCurrent(), Setup(), and cTimeMs::TimedOut().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuChannels::Switch ( void   )  [protected]

Definition at line 472 of file menu.c.

References cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), osContinue, osEnd, cDevice::PrimaryDevice(), and cDevice::SwitchChannel().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuChannels::Edit ( void   )  [protected]

Definition at line 482 of file menu.c.

References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), and osContinue.

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuChannels::New ( void   )  [protected]

Definition at line 492 of file menu.c.

References cOsdMenu::AddSubMenu(), cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), and osContinue.

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuChannels::Delete ( void   )  [protected]

Definition at line 499 of file menu.c.

References Channels, cInterface::Confirm(), cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Del(), cListBase::Del(), cList< T >::Get(), cChannels::GetByNumber(), GetChannel(), cChannels::GetNextNormal(), cChannels::GetPrevNormal(), cOsdMenu::HasSubMenu(), cChannel::HasTimer(), cListObject::Index(), Interface, isyslog, cSkins::Message(), mtError, cChannel::Number(), osContinue, cDevice::PrimaryDevice(), Propagate(), cDevice::Replaying(), cDevice::SetCurrentChannel(), Skins, cChannels::SwitchTo(), tr, and cDevice::Transferring().

Referenced by ProcessKey().

Here is the call graph for this function:

void cMenuChannels::Move ( int  From,
int  To 
) [protected, virtual]

Reimplemented from cListBase.

Definition at line 535 of file menu.c.

References Channels, cDevice::CurrentChannel(), cChannels::GetByNumber(), GetChannel(), isyslog, cListBase::Move(), cChannel::Number(), cDevice::PrimaryDevice(), Propagate(), cDevice::Replaying(), cDevice::SetCurrentChannel(), cChannels::SwitchTo(), and cDevice::Transferring().

Here is the call graph for this function:

eOSState cMenuChannels::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdMenu.

Definition at line 557 of file menu.c.

References cOsdMenu::Add(), Channels, cOsdMenu::CloseSubMenu(), Delete(), Edit(), cOsdMenu::HasSubMenu(), k0, k9, kBlue, kGreen, kOk, kRed, kYellow, cList< T >::Last(), cOsdMenu::Mark(), New(), Number(), osUnknown, osUser1, cOsdMenu::ProcessKey(), and Switch().

Here is the call graph for this function:


Member Data Documentation

int cMenuChannels::number [private]

Definition at line 380 of file menu.c.

Referenced by cMenuChannels(), and Number().

cTimeMs cMenuChannels::numberTimer [private]

Definition at line 381 of file menu.c.

Referenced by Number().


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