vdr 2.7.3
cMenuRecordingItem Class Reference

Public Member Functions

 cMenuRecordingItem (const cRecording *Recording, int Level)
 
 ~cMenuRecordingItem ()
 
void IncrementCounter (bool New)
 
const char * Name (void) const
 
int Level (void) const
 
const cRecordingRecording (void) const
 
bool IsDirectory (void) const
 
void SetRecording (const 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

const cRecordingrecording
 
int level
 
char * name
 
int totalEntries
 
int newEntries
 

Additional Inherited Members

- Protected Attributes inherited from cOsdItem
bool fresh
 

Detailed Description

Definition at line 3035 of file menu.c.

Constructor & Destructor Documentation

◆ cMenuRecordingItem()

cMenuRecordingItem::cMenuRecordingItem ( const cRecording * Recording,
int Level )

◆ ~cMenuRecordingItem()

cMenuRecordingItem::~cMenuRecordingItem ( )

Definition at line 3069 of file menu.c.

References name.

Member Function Documentation

◆ IncrementCounter()

void cMenuRecordingItem::IncrementCounter ( bool New)

Definition at line 3074 of file menu.c.

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

Referenced by cMenuRecordings::Set().

◆ IsDirectory()

bool cMenuRecordingItem::IsDirectory ( void ) const
inline

◆ Level()

int cMenuRecordingItem::Level ( void ) const
inline

Definition at line 3046 of file menu.c.

References level.

Referenced by cMenuRecordingItem().

◆ Name()

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

Definition at line 3045 of file menu.c.

References name.

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

◆ Recording()

const cRecording * cMenuRecordingItem::Recording ( void ) const
inline

◆ SetMenuItem()

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

◆ SetRecording()

void cMenuRecordingItem::SetRecording ( const cRecording * Recording)
inline

Definition at line 3049 of file menu.c.

References Recording(), and recording.

Member Data Documentation

◆ level

int cMenuRecordingItem::level
private

Definition at line 3038 of file menu.c.

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

◆ name

char* cMenuRecordingItem::name
private

Definition at line 3039 of file menu.c.

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

◆ newEntries

int cMenuRecordingItem::newEntries
private

Definition at line 3040 of file menu.c.

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

◆ recording

const cRecording* cMenuRecordingItem::recording
private

Definition at line 3037 of file menu.c.

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

◆ totalEntries

int cMenuRecordingItem::totalEntries
private

Definition at line 3040 of file menu.c.

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


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