vdr 2.8.1
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
int Usage (void)
const cRecordingRecording (void) const
bool IsDirectory (void) const
void SetRecording (const cRecording *Recording)
void Update (cSkinDisplayMenu *DisplayMenu, int Index, bool Current)
virtual void SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) override
Public Member Functions inherited from cOsdItem
 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
virtual ~cOsdItem () override
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
int usage

Additional Inherited Members

Protected Attributes inherited from cOsdItem
bool fresh

Detailed Description

Definition at line 3048 of file menu.c.

Constructor & Destructor Documentation

◆ cMenuRecordingItem()

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

◆ ~cMenuRecordingItem()

cMenuRecordingItem::~cMenuRecordingItem ( )

Definition at line 3086 of file menu.c.

References name.

Member Function Documentation

◆ IncrementCounter()

void cMenuRecordingItem::IncrementCounter ( bool New)

Definition at line 3091 of file menu.c.

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

Referenced by cMenuRecordings::Set().

◆ IsDirectory()

◆ Level()

int cMenuRecordingItem::Level ( void ) const
inline

Definition at line 3060 of file menu.c.

References level.

Referenced by cMenuRecordingItem().

◆ Name()

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

Definition at line 3059 of file menu.c.

References name.

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

◆ Recording()

◆ SetMenuItem()

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

◆ SetRecording()

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

Definition at line 3064 of file menu.c.

References Recording(), and recording.

◆ Update()

void cMenuRecordingItem::Update ( cSkinDisplayMenu * DisplayMenu,
int Index,
bool Current )

◆ Usage()

int cMenuRecordingItem::Usage ( void )
inline

Definition at line 3061 of file menu.c.

References usage.

Referenced by cMenuRecordings::Set().

Member Data Documentation

◆ level

int cMenuRecordingItem::level
private

Definition at line 3051 of file menu.c.

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

◆ name

char* cMenuRecordingItem::name
private

Definition at line 3052 of file menu.c.

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

◆ newEntries

int cMenuRecordingItem::newEntries
private

Definition at line 3053 of file menu.c.

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

◆ recording

const cRecording* cMenuRecordingItem::recording
private

Definition at line 3050 of file menu.c.

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

◆ totalEntries

int cMenuRecordingItem::totalEntries
private

Definition at line 3053 of file menu.c.

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

◆ usage

int cMenuRecordingItem::usage
private

Definition at line 3054 of file menu.c.

Referenced by cMenuRecordingItem(), and Usage().


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