cMenuRecordings Class Reference

#include <menu.h>

Inheritance diagram for cMenuRecordings:

Inheritance graph
[legend]
Collaboration diagram for cMenuRecordings:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuRecordings (const char *Base=NULL, int Level=0, bool OpenSubMenus=false)
 ~cMenuRecordings ()
virtual eOSState ProcessKey (eKeys Key)

Protected Member Functions

cRecordingGetRecording (cMenuRecordingItem *Item)

Private Member Functions

void SetHelpKeys (void)
void Set (bool Refresh=false)
bool Open (bool OpenSubMenus=false)
eOSState Play (void)
eOSState Rewind (void)
eOSState Delete (void)
eOSState Info (void)
eOSState Commands (eKeys Key=kNone)

Private Attributes

char * base
int level
int recordingsState
int helpKeys


Detailed Description

Definition at line 160 of file menu.h.


Constructor & Destructor Documentation

cMenuRecordings::cMenuRecordings ( const char *  Base = NULL,
int  Level = 0,
bool  OpenSubMenus = false 
)

Definition at line 1849 of file menu.c.

References base, cOsdMenu::Current(), cOsdMenu::Display(), cList< cOsdItem >::First(), helpKeys, cReplayControl::LastReplayed(), level, Open(), cSetup::RecordingDirs, Recordings, recordingsState, Set(), cOsdMenu::SetCurrent(), SetHelpKeys(), Setup, and cRecordings::StateChanged().

Referenced by Open().

Here is the call graph for this function:

cMenuRecordings::~cMenuRecordings (  ) 

Definition at line 1866 of file menu.c.

References base, and helpKeys.


Member Function Documentation

void cMenuRecordings::SetHelpKeys ( void   )  [private]

Definition at line 1872 of file menu.c.

References cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), helpKeys, cRecording::Info(), cMenuRecordingItem::IsDirectory(), RecordingCommands, cOsdMenu::SetHelp(), cRecordingInfo::Title(), and tr.

Referenced by cMenuRecordings(), Delete(), and ProcessKey().

Here is the call graph for this function:

void cMenuRecordings::Set ( bool  Refresh = false  )  [private]

Definition at line 1897 of file menu.c.

References cOsdMenu::Add(), base, cOsdMenu::Clear(), cOsdMenu::Current(), cOsdMenu::Display(), cRecording::FileName(), cMenuRecordingItem::FileName(), cList< T >::First(), cList< cOsdItem >::Get(), cRecordings::GetByName(), cMenuRecordingItem::IncrementCounter(), cMenuRecordingItem::IsDirectory(), cReplayControl::LastReplayed(), level, cList< T >::Next(), Recordings, cOsdMenu::SetCurrent(), cListBase::Sort(), and cOsdItem::Text().

Referenced by cMenuRecordings(), and ProcessKey().

Here is the call graph for this function:

bool cMenuRecordings::Open ( bool  OpenSubMenus = false  )  [private]

Definition at line 1945 of file menu.c.

References cOsdMenu::AddSubMenu(), base, cMenuRecordings(), cOsdMenu::Current(), cList< cOsdItem >::Get(), cMenuRecordingItem::IsDirectory(), level, and cMenuRecordingItem::Name().

Referenced by cMenuRecordings(), and Play().

Here is the call graph for this function:

eOSState cMenuRecordings::Play ( void   )  [private]

Definition at line 1962 of file menu.c.

References cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), GetRecording(), cMenuRecordingItem::IsDirectory(), Open(), osContinue, osReplay, cReplayControl::SetRecording(), and cRecording::Title().

Referenced by ProcessKey(), and Rewind().

Here is the call graph for this function:

eOSState cMenuRecordings::Rewind ( void   )  [private]

Definition at line 1979 of file menu.c.

References cListBase::Count(), cOsdMenu::Current(), cMenuRecordingItem::FileName(), cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), osContinue, Play(), cDevice::PrimaryDevice(), and cDevice::StopReplay().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuRecordings::Delete ( void   )  [private]

Definition at line 1993 of file menu.c.

References cReplayControl::ClearLastReplayed(), cInterface::Confirm(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), cListBase::Del(), cRecordings::DelByName(), cRecording::Delete(), cOsdMenu::Display(), cMenuRecordingItem::FileName(), cList< cOsdItem >::Get(), cRecordControls::GetRecordControl(), GetRecording(), cOsdMenu::HasSubMenu(), Interface, cMenuRecordingItem::IsDirectory(), cTimer::IsSingleEvent(), isyslog, cSkins::Message(), mtError, osBack, osContinue, cRecordControls::Process(), Recordings, SetHelpKeys(), cTimers::SetModified(), Skins, cTimer::Skip(), cRecordControl::Timer(), Timers, cTimer::ToDescr(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuRecordings::Info ( void   )  [private]

Definition at line 2036 of file menu.c.

References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cRecording::Info(), cMenuRecordingItem::IsDirectory(), osContinue, and cRecordingInfo::Title().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuRecordings::Commands ( eKeys  Key = kNone  )  [private]

Definition at line 2049 of file menu.c.

References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), kNone, osContinue, cMenuCommands::ProcessKey(), RecordingCommands, strescape(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

cRecording * cMenuRecordings::GetRecording ( cMenuRecordingItem Item  )  [protected]

Definition at line 1937 of file menu.c.

References cMenuRecordingItem::FileName(), cRecordings::GetByName(), cSkins::Message(), mtError, Recordings, Skins, and tr.

Referenced by Commands(), Delete(), Info(), Play(), and SetHelpKeys().

Here is the call graph for this function:

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

Reimplemented from cOsdMenu.

Definition at line 2070 of file menu.c.

References Commands(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), Delete(), cOsdMenu::Display(), cOsdMenu::HasSubMenu(), helpKeys, Info(), k1, kBlue, kGreen, kNone, kOk, kRed, kYellow, osBack, osUnknown, Play(), cOsdMenu::ProcessKey(), RecordingCommands, Recordings, recordingsState, Rewind(), Set(), SetHelpKeys(), and cRecordings::StateChanged().

Here is the call graph for this function:


Member Data Documentation

char* cMenuRecordings::base [private]

Definition at line 162 of file menu.h.

Referenced by cMenuRecordings(), Open(), Set(), and ~cMenuRecordings().

int cMenuRecordings::level [private]

Definition at line 163 of file menu.h.

Referenced by cMenuRecordings(), Open(), and Set().

int cMenuRecordings::recordingsState [private]

Definition at line 164 of file menu.h.

Referenced by cMenuRecordings(), and ProcessKey().

int cMenuRecordings::helpKeys [private]

Definition at line 165 of file menu.h.

Referenced by cMenuRecordings(), ProcessKey(), SetHelpKeys(), and ~cMenuRecordings().


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