vdr 2.6.9
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::cKeyMacro ( void )

Definition at line 201 of file keys.c.

References kNone, macro, MAXKEYSINMACRO, numKeys, and plugin.

◆ ~cKeyMacro()

cKeyMacro::~cKeyMacro ( )

Definition at line 209 of file keys.c.

References plugin.

Member Function Documentation

◆ Macro()

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

Definition at line 135 of file keys.h.

References macro.

Referenced by cRemote::PutMacro().

◆ NumKeys()

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.

References numKeys.

Referenced by cRemote::PutMacro().

◆ Parse()

bool cKeyMacro::Parse ( char * s)

◆ Plugin()

const char * cKeyMacro::Plugin ( void ) const
inline

Definition at line 136 of file keys.h.

References plugin.

Referenced by cRemote::PutMacro().

Member Data Documentation

◆ macro

eKeys cKeyMacro::macro[MAXKEYSINMACRO]
private

Definition at line 124 of file keys.h.

Referenced by cKeyMacro(), Macro(), and Parse().

◆ numKeys

int cKeyMacro::numKeys
private

Definition at line 125 of file keys.h.

Referenced by cKeyMacro(), NumKeys(), and Parse().

◆ plugin

char* cKeyMacro::plugin
private

Definition at line 126 of file keys.h.

Referenced by cKeyMacro(), Parse(), Plugin(), and ~cKeyMacro().


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