Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cCommand Class Reference

#include <config.h>

Inheritance diagram for cCommand:

Inheritance graph
[legend]
Collaboration diagram for cCommand:

Collaboration graph
[legend]

Detailed Description

Configuration file handling.

Definition at line 35 of file config.h.

Public Methods

 cCommand (void)
virtual ~cCommand ()
bool Parse (const char *s)
const char * Title (void)
bool Confirm (void)
const char * Execute (const char *Parameters=NULL)

Private Attributes

char * title
char * command
bool confirm

Static Private Attributes

char * result = NULL


Constructor & Destructor Documentation

cCommand::cCommand void   
 

Definition at line 26 of file config.c.

References command, confirm, and title.

cCommand::~cCommand   [virtual]
 

Definition at line 32 of file config.c.


Member Function Documentation

bool cCommand::Confirm void    [inline]
 

Definition at line 46 of file config.h.

Referenced by cMenuCommands::Execute().

const char * cCommand::Execute const char *    Parameters = NULL
 

Definition at line 60 of file config.c.

References command, dsyslog, esyslog, and result.

Referenced by cMenuCommands::Execute().

bool cCommand::Parse const char *    s
 

Definition at line 38 of file config.c.

References command, confirm, isempty(), MALLOC, skipspace(), stripspace(), strn0cpy(), and title.

const char* cCommand::Title void    [inline]
 

Definition at line 45 of file config.h.

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


Field Documentation

char* cCommand::command [private]
 

Definition at line 38 of file config.h.

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

bool cCommand::confirm [private]
 

Definition at line 39 of file config.h.

Referenced by cCommand(), and Parse().

char * cCommand::result = NULL [static, private]
 

Definition at line 24 of file config.c.

Referenced by Execute().

char* cCommand::title [private]
 

Definition at line 37 of file config.h.

Referenced by cCommand(), and Parse().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:03 2003 for VDR by doxygen1.3-rc2