vdr
1.7.27
|
#include <menu.h>
Public Member Functions | |
cMenuCommands (const char *Title, cList< cNestedItem > *Commands, const char *Parameters=NULL) | |
virtual | ~cMenuCommands () |
virtual eOSState | ProcessKey (eKeys Key) |
cMenuCommands (const char *Title, cList< cNestedItem > *Commands, const char *Parameters=NULL) | |
virtual | ~cMenuCommands () |
virtual eOSState | ProcessKey (eKeys Key) |
Private Member Functions | |
bool | Parse (const char *s) |
eOSState | Execute (void) |
bool | Parse (const char *s) |
eOSState | Execute (void) |
Private Attributes | |
cList< cNestedItem > * | commands |
cString | parameters |
cString | title |
cString | command |
bool | confirm |
char * | result |
Definition at line 56 of file include/vdr/menu.h.
cMenuCommands::cMenuCommands | ( | const char * | Title, |
cList< cNestedItem > * | Commands, | ||
const char * | Parameters = NULL |
||
) |
Definition at line 1996 of file menu.c.
References cOsdMenu::Add(), commands, Commands, cList< T >::First(), cOsdMenu::hk(), cList< T >::Next(), parameters, Parse(), result, cOsdMenu::SetHasHotkeys(), cString::sprintf(), and title.
Referenced by Execute().
cMenuCommands::~cMenuCommands | ( | ) | [virtual] |
cMenuCommands::cMenuCommands | ( | const char * | Title, |
cList< cNestedItem > * | Commands, | ||
const char * | Parameters = NULL |
||
) |
virtual cMenuCommands::~cMenuCommands | ( | ) | [virtual] |
eOSState cMenuCommands::Execute | ( | void | ) | [private] |
Definition at line 2040 of file menu.c.
References cOsdMenu::AddSubMenu(), cPipe::Close(), cMenuCommands(), command, commands, cInterface::Confirm(), confirm, cOsdMenu::Current(), dsyslog, esyslog, fontFix, cList< T >::Get(), Interface, isempty(), cSkins::Message(), mtStatus, cPipe::Open(), osContinue, osEnd, parameters, Parse(), result, Skins, cString::sprintf(), cNestedItem::SubItems(), cNestedItem::Text(), title, and cOsdMenu::Title().
Referenced by ProcessKey().
eOSState cMenuCommands::Execute | ( | void | ) | [private] |
bool cMenuCommands::Parse | ( | const char * | s | ) | [private] |
Definition at line 2017 of file menu.c.
References command, confirm, skipspace(), stripspace(), strn0cpy(), and title.
Referenced by cMenuCommands(), and Execute().
bool cMenuCommands::Parse | ( | const char * | s | ) | [private] |
eOSState cMenuCommands::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdMenu.
Definition at line 2087 of file menu.c.
References Execute(), kBlue, kGreen, kOk, kRed, kYellow, osContinue, and osUnknown.
Referenced by cMenuRecordings::Commands(), and cMenuTimers::Commands().
virtual eOSState cMenuCommands::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdMenu.
cString cMenuCommands::command [private] |
Definition at line 61 of file include/vdr/menu.h.
cList< cNestedItem > * cMenuCommands::commands [private] |
Definition at line 58 of file include/vdr/menu.h.
Referenced by cMenuCommands(), and Execute().
bool cMenuCommands::confirm [private] |
Definition at line 62 of file include/vdr/menu.h.
cString cMenuCommands::parameters [private] |
Definition at line 59 of file include/vdr/menu.h.
Referenced by cMenuCommands(), and Execute().
char * cMenuCommands::result [private] |
Definition at line 63 of file include/vdr/menu.h.
Referenced by cMenuCommands(), Execute(), and ~cMenuCommands().
cString cMenuCommands::title [private] |
Reimplemented from cOsdMenu.
Definition at line 60 of file include/vdr/menu.h.
Referenced by cMenuCommands(), Execute(), and Parse().