Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cMenuRecordings Class Reference

#include <menu.h>

Inheritance diagram for cMenuRecordings:

Inheritance graph
[legend]
Collaboration diagram for cMenuRecordings:

Collaboration graph
[legend]

Detailed Description

Display recording menu

Definition at line 74 of file menu.h.

Public Methods

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

Private Methods

void SetHelpKeys (void)
cRecordingGetRecording (cMenuRecordingItem *Item)
bool Open (bool OpenSubMenus=false)
eOSState Play (void)
eOSState Rewind (void)
eOSState Delete (void)
eOSState Summary (void)
eOSState Commands (eKeys Key=kNone)

Private Attributes

char * base
int level

Static Private Attributes

cRecordings Recordings
int helpKeys = -1


Constructor & Destructor Documentation

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

Definition at line 1559 of file menu.c.

References cOsdMenu::Add(), base, cOsdMenu::Current(), cOsdMenu::Display(), cRecording::FileName(), cList< cOsdItem >::First(), cList< cRecording >::First(), cMenuRecordingItem::IncrementCounter(), cMenuRecordingItem::IsDirectory(), cRecording::IsNew(), cReplayControl::LastReplayed(), level, cRecordings::Load(), cRecording::Name(), cList< cRecording >::Next(), Open(), Recordings, cOsdMenu::SetCurrent(), SetHelpKeys(), cOsdItem::Text(), and tr.

Referenced by Open().

cMenuRecordings::~cMenuRecordings  
 

Definition at line 1601 of file menu.c.

References helpKeys.


Member Function Documentation

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

Definition at line 1739 of file menu.c.

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

Referenced by ProcessKey().

eOSState cMenuRecordings::Delete void    [private]
 

Definition at line 1688 of file menu.c.

References cReplayControl::ClearLastReplayed(), cListBase::Count(), cOsdMenu::Current(), cListBase::Del(), cOsdMenu::Del(), cRecording::Delete(), cOsdMenu::Display(), eOSState, cMenuRecordingItem::FileName(), cList< cOsdItem >::Get(), cRecordControls::GetRecordControl(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), osBack, osContinue, cRecordControls::Process(), Recordings, cTimer::Skip(), cRecordControl::Timer(), and tr.

Referenced by ProcessKey().

cRecording * cMenuRecordings::GetRecording cMenuRecordingItem   Item [private]
 

Definition at line 1632 of file menu.c.

References cMenuRecordingItem::FileName(), cRecordings::GetByName(), Recordings, and tr.

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

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

Definition at line 1640 of file menu.c.

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

Referenced by cMenuRecordings(), and Play().

eOSState cMenuRecordings::Play void    [private]
 

Definition at line 1657 of file menu.c.

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

Referenced by ProcessKey(), and Rewind().

eOSState cMenuRecordings::ProcessKey eKeys    Key [virtual]
 

Reimplemented from cOsdMenu.

Definition at line 1760 of file menu.c.

References Commands(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), Delete(), cOsdMenu::Display(), eOSState, cOsdMenu::HasSubMenu(), helpKeys, k1, kBlue, kGreen, kNone, kOk, kRed, kYellow, osBack, osUnknown, Play(), cOsdMenu::ProcessKey(), Rewind(), SetHelpKeys(), and Summary().

eOSState cMenuRecordings::Rewind void    [private]
 

Definition at line 1674 of file menu.c.

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

Referenced by ProcessKey().

void cMenuRecordings::SetHelpKeys void    [private]
 

Definition at line 1607 of file menu.c.

References cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), helpKeys, cMenuRecordingItem::IsDirectory(), cOsdMenu::SetHelp(), cRecording::Summary(), and tr.

Referenced by cMenuRecordings(), and ProcessKey().

eOSState cMenuRecordings::Summary void    [private]
 

Definition at line 1726 of file menu.c.

References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), eOSState, cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), osContinue, cRecording::Summary(), and tr.

Referenced by ProcessKey().


Field Documentation

char* cMenuRecordings::base [private]
 

Definition at line 77 of file menu.h.

Referenced by cMenuRecordings().

int cMenuRecordings::helpKeys = -1 [static, private]
 

Definition at line 1557 of file menu.c.

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

int cMenuRecordings::level [private]
 

Definition at line 78 of file menu.h.

Referenced by cMenuRecordings().

cRecordings cMenuRecordings::Recordings [static, private]
 

Definition at line 1556 of file menu.c.

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


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:32 2003 for VDR by doxygen1.3-rc2