cMenuMain Class Reference

#include <menu.h>

Inheritance diagram for cMenuMain:

Inheritance graph
[legend]
Collaboration diagram for cMenuMain:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuMain (eOSState State=osUnknown)
virtual eOSState ProcessKey (eKeys Key)

Static Public Member Functions

static cOsdObjectPluginOsdObject (void)

Private Member Functions

void Set (void)
bool Update (bool Force=false)

Private Attributes

time_t lastDiskSpaceCheck
int lastFreeMB
bool replaying
cOsdItemstopReplayItem
cOsdItemcancelEditingItem
cOsdItemstopRecordingItem
int recordControlsState

Static Private Attributes

static cOsdObjectpluginOsdObject = NULL


Detailed Description

Definition at line 57 of file menu.h.


Constructor & Destructor Documentation

cMenuMain::cMenuMain ( eOSState  State = osUnknown  ) 

Definition at line 2781 of file menu.c.

References cOsdMenu::AddSubMenu(), cancelEditingItem, Commands, lastDiskSpaceCheck, lastFreeMB, osChannels, osCommands, osRecordings, osSchedule, osSetup, osTimers, recordControlsState, replaying, Set(), stopRecordingItem, stopReplayItem, and tr.

Here is the call graph for this function:


Member Function Documentation

void cMenuMain::Set ( void   )  [private]

Definition at line 2813 of file menu.c.

References cOsdMenu::Add(), cOsdMenu::Clear(), Commands, cListBase::Count(), cOsdMenu::Display(), cPluginManager::GetPlugin(), cOsdMenu::hk(), cPlugin::MainMenuEntry(), osChannels, osCommands, osRecordings, osSchedule, osSetup, osTimers, cOsdMenu::SetHasHotkeys(), cOsdMenu::SetTitle(), tr, and Update().

Referenced by cMenuMain(), and ProcessKey().

Here is the call graph for this function:

bool cMenuMain::Update ( bool  Force = false  )  [private]

Definition at line 2852 of file menu.c.

References cCutter::Active(), cOsdMenu::Add(), cancelEditingItem, cControl::Control(), cOsdMenu::Del(), DISKSPACECHEK, cRecordControls::GetInstantId(), cListObject::Index(), lastDiskSpaceCheck, lastFreeMB, cReplayControl::LastReplayed(), MB_PER_MINUTE, cList< cOsdItem >::Next(), osCancelEdit, osStopRecord, osStopReplay, recordControlsState, replaying, cOsdMenu::SetHelp(), cOsdItem::SetText(), cOsdMenu::SetTitle(), cRecordControls::StateChanged(), STOP_RECORDING, stopRecordingItem, stopReplayItem, tr, and VideoDiskSpace().

Referenced by ProcessKey(), and Set().

Here is the call graph for this function:

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

Reimplemented from cOsdMenu.

Definition at line 2923 of file menu.c.

References cOsdMenu::AddSubMenu(), Commands, cInterface::Confirm(), cOsdMenu::Current(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cPluginManager::GetPlugin(), cOsdMenu::HasSubMenu(), Interface, cOsdObject::IsMenu(), kAudio, kBlue, kGreen, kNone, kRecord, kRed, kYellow, cReplayControl::LastReplayed(), cPlugin::MainMenuAction(), osCancelEdit, osChannels, osCommands, osContinue, cSetup::OSDLanguage, osEnd, osPause, osPlugin, osRecord, osRecordings, osReplay, osSchedule, osSetup, osStopRecord, osStopReplay, osTimers, cMenuPluginItem::PluginIndex(), pluginOsdObject, cOsdMenu::ProcessKey(), cRemote::Put(), replaying, Set(), Setup, cCutter::Stop(), cRecordControls::Stop(), STOP_RECORDING, cOsdItem::Text(), tr, and Update().

Here is the call graph for this function:

cOsdObject * cMenuMain::PluginOsdObject ( void   )  [static]

Definition at line 2806 of file menu.c.

References pluginOsdObject.

Referenced by main().


Member Data Documentation

time_t cMenuMain::lastDiskSpaceCheck [private]

Definition at line 59 of file menu.h.

Referenced by cMenuMain(), and Update().

int cMenuMain::lastFreeMB [private]

Definition at line 60 of file menu.h.

Referenced by cMenuMain(), and Update().

bool cMenuMain::replaying [private]

Definition at line 61 of file menu.h.

Referenced by cMenuMain(), ProcessKey(), and Update().

cOsdItem* cMenuMain::stopReplayItem [private]

Definition at line 62 of file menu.h.

Referenced by cMenuMain(), and Update().

cOsdItem* cMenuMain::cancelEditingItem [private]

Definition at line 63 of file menu.h.

Referenced by cMenuMain(), and Update().

cOsdItem* cMenuMain::stopRecordingItem [private]

Definition at line 64 of file menu.h.

Referenced by cMenuMain(), and Update().

int cMenuMain::recordControlsState [private]

Definition at line 65 of file menu.h.

Referenced by cMenuMain(), and Update().

cOsdObject * cMenuMain::pluginOsdObject = NULL [static, private]

Definition at line 66 of file menu.h.

Referenced by PluginOsdObject(), and ProcessKey().


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