vdr
1.7.27
|
#include <keys.h>
Public Member Functions | |
cKey (void) | |
cKey (const char *Remote, const char *Code, eKeys Key) | |
~cKey () | |
const char * | Remote (void) |
const char * | Code (void) |
eKeys | Key (void) |
bool | Parse (char *s) |
bool | Save (FILE *f) |
cKey (void) | |
cKey (const char *Remote, const char *Code, eKeys Key) | |
~cKey () | |
const char * | Remote (void) |
const char * | Code (void) |
eKeys | Key (void) |
bool | Parse (char *s) |
bool | Save (FILE *f) |
Static Public Member Functions | |
static eKeys | FromString (const char *Name) |
static const char * | ToString (eKeys Key, bool Translate=false) |
static eKeys | FromString (const char *Name) |
static const char * | ToString (eKeys Key, bool Translate=false) |
Private Attributes | |
char * | remote |
char * | code |
eKeys | key |
Definition at line 89 of file include/vdr/keys.h.
cKey::cKey | ( | const char * | Remote, |
const char * | Code, | ||
eKeys | Key | ||
) |
cKey::~cKey | ( | ) |
cKey::cKey | ( | void | ) |
cKey::cKey | ( | const char * | Remote, |
const char * | Code, | ||
eKeys | Key | ||
) |
cKey::~cKey | ( | ) |
const char* cKey::Code | ( | void | ) | [inline] |
Definition at line 99 of file include/vdr/keys.h.
References code.
const char* cKey::Code | ( | void | ) | [inline] |
eKeys cKey::FromString | ( | const char * | Name | ) | [static] |
Definition at line 122 of file keys.c.
References kNone, and tKey::name.
Referenced by cSVDRP::CmdHITK(), Parse(), and cKeyMacro::Parse().
static eKeys cKey::FromString | ( | const char * | Name | ) | [static] |
Definition at line 100 of file include/vdr/keys.h.
References key.
Referenced by cKey(), and cInterface::QueryKeys().
bool cKey::Parse | ( | char * | s | ) |
Definition at line 95 of file keys.c.
References code, FromString(), key, kNone, remote, and skipspace().
bool cKey::Parse | ( | char * | s | ) |
const char* cKey::Remote | ( | void | ) | [inline] |
const char* cKey::Remote | ( | void | ) | [inline] |
Definition at line 98 of file include/vdr/keys.h.
References remote.
bool cKey::Save | ( | FILE * | f | ) |
bool cKey::Save | ( | FILE * | f | ) |
static const char* cKey::ToString | ( | eKeys | Key, |
bool | Translate = false |
||
) | [static] |
const char * cKey::ToString | ( | eKeys | Key, |
bool | Translate = false |
||
) | [static] |
Definition at line 137 of file keys.c.
References tKey::name, and tr.
Referenced by cSVDRP::CmdHITK(), cInterface::QueryKeys(), and Save().
char * cKey::code [private] |
char * cKey::remote [private] |