vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cKeyMacro Class Reference

#include <keys.h>

Public Member Functions

 cKeyMacro (void)
 
 ~cKeyMacro ()
 
bool Parse (char *s)
 
int NumKeys (void) const
 
const eKeysMacro (void) const
 
const char * Plugin (void) const
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Private Attributes

eKeys macro [MAXKEYSINMACRO]
 
int numKeys
 
char * plugin
 

Detailed Description

Definition at line 122 of file keys.h.

Constructor & Destructor Documentation

cKeyMacro::cKeyMacro ( void  )

Definition at line 201 of file keys.c.

References kNone, and MAXKEYSINMACRO.

cKeyMacro::~cKeyMacro ( )

Definition at line 209 of file keys.c.

Member Function Documentation

const eKeys* cKeyMacro::Macro ( void  ) const
inline

Definition at line 135 of file keys.h.

Referenced by cRemote::PutMacro().

int cKeyMacro::NumKeys ( void  ) const
inline

Returns the number of keys in this macro.

The first key (with index 0) is the macro code. The actual macro expansion codes start at index 1 and go to NumKeys() - 1.

Definition at line 131 of file keys.h.

Referenced by cRemote::PutMacro().

bool cKeyMacro::Parse ( char *  s)
const char* cKeyMacro::Plugin ( void  ) const
inline

Definition at line 136 of file keys.h.

Referenced by cRemote::PutMacro().

Member Data Documentation

eKeys cKeyMacro::macro[MAXKEYSINMACRO]
private

Definition at line 124 of file keys.h.

int cKeyMacro::numKeys
private

Definition at line 125 of file keys.h.

char* cKeyMacro::plugin
private

Definition at line 126 of file keys.h.


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