vdr  1.7.31
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)
const char * FileName (void)
bool IsDirectory (void)
- 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)
 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
 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

char * fileName
char * name
int totalEntries
int newEntries

Additional Inherited Members

- Protected Attributes inherited from cOsdItem
bool fresh

Detailed Description

Definition at line 2340 of file menu.c.

Constructor & Destructor Documentation

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

Definition at line 2364 of file menu.c.

References fileName, and name.

Member Function Documentation

const char* cMenuRecordingItem::FileName ( void  )
inline
void cMenuRecordingItem::IncrementCounter ( bool  New)

Definition at line 2370 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 2349 of file menu.c.

References name.

Referenced by cMenuRecordings::Open().

Member Data Documentation

char* cMenuRecordingItem::fileName
private

Definition at line 2342 of file menu.c.

Referenced by cMenuRecordingItem(), FileName(), and ~cMenuRecordingItem().

char* cMenuRecordingItem::name
private

Definition at line 2343 of file menu.c.

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

int cMenuRecordingItem::newEntries
private

Definition at line 2344 of file menu.c.

Referenced by cMenuRecordingItem(), and IncrementCounter().

int cMenuRecordingItem::totalEntries
private

Definition at line 2344 of file menu.c.

Referenced by cMenuRecordingItem(), and IncrementCounter().


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