vdr  2.2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cMenuRecordings Class Reference

#include <menu.h>

Public Member Functions

 cMenuRecordings (const char *Base=NULL, int Level=0, bool OpenSubMenus=false, const cRecordingFilter *Filter=NULL)
 
 ~cMenuRecordings ()
 
virtual eOSState ProcessKey (eKeys Key)
 
- Public Member Functions inherited from cOsdMenu
 cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0)
 
virtual ~cOsdMenu ()
 
virtual bool NeedsFastResponse (void)
 
void SetMenuCategory (eMenuCategory MenuCategory)
 
void SetMenuSortMode (eMenuSortMode MenuSortMode)
 
int Current (void) const
 
void Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL)
 
void Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL)
 
virtual void Display (void)
 
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
 
virtual ~cOsdObject ()
 
bool IsMenu (void) const
 
virtual void Show (void)
 
- Public Member Functions inherited from cList< cOsdItem >
cOsdItemGet (int Index) const
 
cOsdItemFirst (void) const
 
cOsdItemLast (void) const
 
cOsdItemPrev (const cOsdItem *object) const
 
cOsdItemNext (const cOsdItem *object) const
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
cListObjectGet (int Index) const
 
int Count (void) const
 
void Sort (void)
 

Static Public Member Functions

static void SetPath (const char *Path)
 
static void SetRecording (const char *FileName)
 

Protected Member Functions

cString DirectoryName (void)
 
- Protected Member Functions inherited from cOsdMenu
void SetDisplayMenu (void)
 
cSkinDisplayMenuDisplayMenu (void)
 
const char * hk (const char *s)
 
void SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0)
 
void SetHasHotkeys (bool HasHotkeys=true)
 
virtual void Clear (void)
 
const char * Title (void)
 
bool SelectableItem (int idx)
 
void SetCurrent (cOsdItem *Item)
 
void RefreshCurrent (void)
 
void DisplayCurrent (bool Current)
 
void DisplayItem (cOsdItem *Item)
 
void CursorUp (void)
 
void CursorDown (void)
 
void PageUp (void)
 
void PageDown (void)
 
void Mark (void)
 
eOSState HotKey (eKeys Key)
 
eOSState AddSubMenu (cOsdMenu *SubMenu)
 
eOSState CloseSubMenu (bool ReDisplay=true)
 
bool HasSubMenu (void)
 
cOsdMenuSubMenu (void)
 
void SetStatus (const char *s)
 
void SetTitle (const char *Title)
 
void SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
 
virtual void Del (int Index)
 
- Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
 
- Protected Member Functions inherited from cListBase
 cListBase (void)
 

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 Sort (void)
 
eOSState Commands (eKeys Key=kNone)
 

Private Attributes

char * base
 
int level
 
int recordingsState
 
int helpKeys
 
const cRecordingFilterfilter
 

Static Private Attributes

static cString path
 
static cString fileName
 

Additional Inherited Members

- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 

Detailed Description

Definition at line 204 of file menu.h.

Constructor & Destructor Documentation

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

Definition at line 2910 of file menu.c.

References base, cOsdMenu::Current(), cList< cOsdItem >::Get(), and SetRecording().

Member Function Documentation

eOSState cMenuRecordings::Commands ( eKeys  Key = kNone)
private
eOSState cMenuRecordings::Delete ( void  )
private
cString cMenuRecordings::DirectoryName ( void  )
protected

Definition at line 3000 of file menu.c.

References AddDirectory(), base, ExchangeChars(), and cVideoDirectory::Name().

Referenced by Set(), and Sort().

eOSState cMenuRecordings::Info ( void  )
private
bool cMenuRecordings::Open ( bool  OpenSubMenus = false)
private
eOSState cMenuRecordings::Play ( void  )
private
eOSState cMenuRecordings::ProcessKey ( eKeys  Key)
virtual
eOSState cMenuRecordings::Rewind ( void  )
private
void cMenuRecordings::Set ( bool  Refresh = false)
private
void cMenuRecordings::SetHelpKeys ( void  )
private
void cMenuRecordings::SetPath ( const char *  Path)
static

Definition at line 2990 of file menu.c.

References path.

Referenced by cMenuPathEdit::ApplyChanges().

void cMenuRecordings::SetRecording ( const char *  FileName)
static

Definition at line 2995 of file menu.c.

References fileName.

Referenced by cMenuRecordingEdit::ApplyChanges(), cReplayControl::Stop(), and ~cMenuRecordings().

eOSState cMenuRecordings::Sort ( void  )
private

Definition at line 3139 of file menu.c.

References DirectoryName(), cOsdMenu::HasSubMenu(), IncRecordingsSortMode(), osContinue, and Set().

Referenced by ProcessKey().

Member Data Documentation

char* cMenuRecordings::base
private

Definition at line 206 of file menu.h.

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

cString cMenuRecordings::fileName
staticprivate
const cRecordingFilter* cMenuRecordings::filter
private

Definition at line 210 of file menu.h.

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

int cMenuRecordings::helpKeys
private

Definition at line 209 of file menu.h.

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

int cMenuRecordings::level
private

Definition at line 207 of file menu.h.

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

cString cMenuRecordings::path
staticprivate

Definition at line 211 of file menu.h.

Referenced by cMenuRecordings(), Open(), ProcessKey(), Set(), cMenuRecordingItem::SetMenuItem(), and SetPath().

int cMenuRecordings::recordingsState
private

Definition at line 208 of file menu.h.

Referenced by cMenuRecordings(), and ProcessKey().


The documentation for this class was generated from the following files: