vdr  1.7.27
Public Member Functions | Static Public Member Functions | Private Attributes
cKey Class Reference

#include <keys.h>

List of all members.

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

Detailed Description

Definition at line 89 of file include/vdr/keys.h.


Constructor & Destructor Documentation

cKey::cKey ( void  )

Definition at line 76 of file keys.c.

References code, key, kNone, and remote.

cKey::cKey ( const char *  Remote,
const char *  Code,
eKeys  Key 
)

Definition at line 82 of file keys.c.

References code, key, Key(), and remote.

Definition at line 89 of file keys.c.

References code, and remote.

cKey::cKey ( void  )
cKey::cKey ( const char *  Remote,
const char *  Code,
eKeys  Key 
)

Member Function Documentation

const char* cKey::Code ( void  ) [inline]

Definition at line 99 of file include/vdr/keys.h.

References code.

const char* cKey::Code ( void  ) [inline]

Definition at line 99 of file keys.h.

References code.

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]
eKeys cKey::Key ( void  ) [inline]

Definition at line 100 of file keys.h.

References key.

eKeys cKey::Key ( void  ) [inline]

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]

Definition at line 98 of file keys.h.

References remote.

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)

Definition at line 117 of file keys.c.

References code, key, remote, and ToString().

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


Member Data Documentation

char * cKey::code [private]

Definition at line 92 of file include/vdr/keys.h.

Referenced by cKey(), Code(), Parse(), Save(), and ~cKey().

eKeys cKey::key [private]

Definition at line 93 of file include/vdr/keys.h.

Referenced by cKey(), Key(), Parse(), and Save().

char * cKey::remote [private]

Definition at line 91 of file include/vdr/keys.h.

Referenced by cKey(), Parse(), Remote(), Save(), and ~cKey().


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