vdr
1.7.27
|
#include <config.h>
Public Member Functions | |
cNestedItem (const char *Text, bool WithSubItems=false) | |
virtual | ~cNestedItem () |
virtual int | Compare (const cListObject &ListObject) const |
const char * | Text (void) const |
cList< cNestedItem > * | SubItems (void) |
void | AddSubItem (cNestedItem *Item) |
void | SetText (const char *Text) |
void | SetSubItems (bool On) |
cNestedItem (const char *Text, bool WithSubItems=false) | |
virtual | ~cNestedItem () |
virtual int | Compare (const cListObject &ListObject) const |
const char * | Text (void) const |
cList< cNestedItem > * | SubItems (void) |
void | AddSubItem (cNestedItem *Item) |
void | SetText (const char *Text) |
void | SetSubItems (bool On) |
Private Attributes | |
char * | text |
cList< cNestedItem > * | subItems |
cNestedItem::cNestedItem | ( | const char * | Text, |
bool | WithSubItems = false |
||
) |
cNestedItem::~cNestedItem | ( | ) | [virtual] |
cNestedItem::cNestedItem | ( | const char * | Text, |
bool | WithSubItems = false |
||
) |
virtual cNestedItem::~cNestedItem | ( | ) | [virtual] |
void cNestedItem::AddSubItem | ( | cNestedItem * | Item | ) |
Definition at line 147 of file config.c.
References cListBase::Add(), and subItems.
void cNestedItem::AddSubItem | ( | cNestedItem * | Item | ) |
int cNestedItem::Compare | ( | const cListObject & | ListObject | ) | const [virtual] |
Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".
Reimplemented from cListObject.
Definition at line 142 of file config.c.
References text.
virtual int cNestedItem::Compare | ( | const cListObject & | ListObject | ) | const [virtual] |
Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".
Reimplemented from cListObject.
void cNestedItem::SetSubItems | ( | bool | On | ) |
void cNestedItem::SetSubItems | ( | bool | On | ) |
Definition at line 161 of file config.c.
References subItems.
Referenced by cMenuEditFolder::Confirm().
void cNestedItem::SetText | ( | const char * | Text | ) |
void cNestedItem::SetText | ( | const char * | Text | ) |
cList<cNestedItem>* cNestedItem::SubItems | ( | void | ) | [inline] |
Definition at line 187 of file include/vdr/config.h.
References subItems.
cList<cNestedItem>* cNestedItem::SubItems | ( | void | ) | [inline] |
Definition at line 187 of file config.h.
References subItems.
Referenced by cMenuEditFolder::cMenuEditFolder(), cMenuFolderItem::cMenuFolderItem(), cMenuFolder::Delete(), cMenuCommands::Execute(), cNestedItemList::Parse(), and cMenuFolder::Select().
const char* cNestedItem::Text | ( | void | ) | const [inline] |
Definition at line 186 of file include/vdr/config.h.
References text.
const char* cNestedItem::Text | ( | void | ) | const [inline] |
Definition at line 186 of file config.h.
References text.
Referenced by cMenuEditFolder::cMenuEditFolder(), cMenuFolderItem::cMenuFolderItem(), cMenuEditFolder::Confirm(), cMenuCommands::Execute(), cMenuFolder::GetFolder(), cMenuEditFolder::GetFolder(), and cMenuFolder::Select().
cList< cNestedItem > * cNestedItem::subItems [private] |
Definition at line 181 of file config.h.
Referenced by AddSubItem(), cNestedItem(), SetSubItems(), SubItems(), and ~cNestedItem().
char * cNestedItem::text [private] |
Definition at line 180 of file config.h.
Referenced by cNestedItem(), Compare(), SetText(), Text(), and ~cNestedItem().