|
vdr 2.7.9
|
#include <config.h>
Public Member Functions | |
| cNestedItem (const char *Text, bool WithSubItems=false) | |
| virtual | ~cNestedItem () override |
| virtual int | Compare (const cListObject &ListObject) const override |
| const char * | Text (void) const |
| cList< cNestedItem > * | SubItems (void) |
| void | AddSubItem (cNestedItem *Item) |
| void | SetText (const char *Text) |
| void | SetSubItems (bool On) |
Public Member Functions inherited from cListObject | |
| cListObject (void) | |
| virtual | ~cListObject () |
| void | Append (cListObject *Object) |
| void | Insert (cListObject *Object) |
| void | Unlink (void) |
| int | Index (void) const |
| cListObject * | Prev (void) const |
| cListObject * | Next (void) const |
Private Attributes | |
| char * | text |
| cList< cNestedItem > * | subItems |
| cNestedItem::cNestedItem | ( | const char * | Text, |
| bool | WithSubItems = false ) |
|
overridevirtual |
| void cNestedItem::AddSubItem | ( | cNestedItem * | Item | ) |
Definition at line 148 of file config.c.
References cNestedItem(), and subItems.
|
overridevirtual |
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 143 of file config.c.
References cListObject::cListObject(), cNestedItem(), and text.
| void cNestedItem::SetSubItems | ( | bool | On | ) |
Definition at line 162 of file config.c.
References subItems.
Referenced by AddRecordingFolders(), and cMenuFolder::Select().
| void cNestedItem::SetText | ( | const char * | Text | ) |
|
inline |
Definition at line 214 of file config.h.
References subItems.
Referenced by AddRecordingFolders(), cMenuFolder::Delete(), cMenuCommands::Execute(), cNestedItemList::Parse(), and cMenuFolder::Select().
|
inline |
Definition at line 213 of file config.h.
References text.
Referenced by AddRecordingFolders(), cNestedItem(), cMenuCommands::Execute(), cMenuFolder::GetFolder(), cMenuFolder::Select(), and SetText().
|
private |
Definition at line 208 of file config.h.
Referenced by AddSubItem(), cNestedItem(), SetSubItems(), SubItems(), and ~cNestedItem().
|
private |
Definition at line 207 of file config.h.
Referenced by cNestedItem(), Compare(), SetText(), Text(), and ~cNestedItem().