vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cMenuCommands Class Reference

#include <menu.h>

List of all members.

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

Detailed Description

Definition at line 56 of file include/vdr/menu.h.


Constructor & Destructor Documentation

cMenuCommands::cMenuCommands ( const char *  Title,
cList< cNestedItem > *  Commands,
const char *  Parameters = NULL 
)

Definition at line 2012 of file menu.c.

References result.

cMenuCommands::cMenuCommands ( const char *  Title,
cList< cNestedItem > *  Commands,
const char *  Parameters = NULL 
)
virtual cMenuCommands::~cMenuCommands ( ) [virtual]

Member Function Documentation

eOSState cMenuCommands::Execute ( void  ) [private]
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]

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.


Member Data Documentation

Definition at line 61 of file include/vdr/menu.h.

Referenced by Execute(), and Parse().

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.

Referenced by Execute(), and Parse().

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().

Reimplemented from cOsdMenu.

Definition at line 60 of file include/vdr/menu.h.

Referenced by cMenuCommands(), Execute(), and Parse().


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