vdr  2.0.7
Public Member Functions | Private Attributes | List of all members
cMenuRecordingItem Class Reference

Public Member Functions

 cMenuRecordingItem (cRecording *Recording, int Level)
 
 ~cMenuRecordingItem ()
 
void IncrementCounter (bool New)
 
const char * Name (void)
 
cRecordingRecording (void)
 
bool IsDirectory (void)
 
void SetRecording (cRecording *Recording)
 
virtual void SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable)
 
- Public Member Functions inherited from cOsdItem
 cOsdItem (eOSState State=osUnknown)
 
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
 
virtual ~cOsdItem ()
 
bool Selectable (void) const
 
void SetText (const char *Text, bool Copy=true)
 
void SetSelectable (bool Selectable)
 
void SetFresh (bool Fresh)
 
const char * Text (void) const
 
virtual void Set (void)
 
virtual eOSState ProcessKey (eKeys Key)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Private Attributes

cRecordingrecording
 
int level
 
char * name
 
int totalEntries
 
int newEntries
 

Additional Inherited Members

- Protected Attributes inherited from cOsdItem
bool fresh
 

Detailed Description

Definition at line 2365 of file menu.c.

Constructor & Destructor Documentation

cMenuRecordingItem::cMenuRecordingItem ( cRecording Recording,
int  Level 
)
cMenuRecordingItem::~cMenuRecordingItem ( )

Definition at line 2393 of file menu.c.

References name.

Member Function Documentation

void cMenuRecordingItem::IncrementCounter ( bool  New)

Definition at line 2398 of file menu.c.

References name, newEntries, cOsdItem::SetText(), cString::sprintf(), and totalEntries.

Referenced by cMenuRecordings::Set().

bool cMenuRecordingItem::IsDirectory ( void  )
inline
const char* cMenuRecordingItem::Name ( void  )
inline

Definition at line 2375 of file menu.c.

References name.

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

cRecording* cMenuRecordingItem::Recording ( void  )
inline
void cMenuRecordingItem::SetMenuItem ( cSkinDisplayMenu DisplayMenu,
int  Index,
bool  Current,
bool  Selectable 
)
virtual
void cMenuRecordingItem::SetRecording ( cRecording Recording)
inline

Definition at line 2378 of file menu.c.

References Recording().

Member Data Documentation

int cMenuRecordingItem::level
private

Definition at line 2368 of file menu.c.

Referenced by cMenuRecordingItem(), and SetMenuItem().

char* cMenuRecordingItem::name
private

Definition at line 2369 of file menu.c.

Referenced by cMenuRecordingItem(), IncrementCounter(), Name(), and ~cMenuRecordingItem().

int cMenuRecordingItem::newEntries
private

Definition at line 2370 of file menu.c.

Referenced by cMenuRecordingItem(), IncrementCounter(), and SetMenuItem().

cRecording* cMenuRecordingItem::recording
private

Definition at line 2367 of file menu.c.

Referenced by cMenuRecordingItem(), Recording(), and SetMenuItem().

int cMenuRecordingItem::totalEntries
private

Definition at line 2370 of file menu.c.

Referenced by cMenuRecordingItem(), IncrementCounter(), and SetMenuItem().


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