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

#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)
 
- 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
 

Static Public Member Functions

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 92 of file keys.h.

Constructor & Destructor Documentation

cKey::cKey ( void  )

Definition at line 77 of file keys.c.

References code, key, kNone, and remote.

Referenced by cKeys::PutSetup().

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

Definition at line 83 of file keys.c.

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

cKey::~cKey ( )

Definition at line 90 of file keys.c.

References code, and remote.

Member Function Documentation

const char* cKey::Code ( void  )
inline

Definition at line 102 of file keys.h.

eKeys cKey::FromString ( const char *  Name)
static

Definition at line 123 of file keys.c.

References kNone, and tKey::name.

Referenced by cSVDRP::CmdHITK(), Parse(), and cKeyMacro::Parse().

eKeys cKey::Key ( void  )
inline

Definition at line 103 of file keys.h.

Referenced by cKey(), cKeyMacros::Get(), and cInterface::QueryKeys().

bool cKey::Parse ( char *  s)

Definition at line 96 of file keys.c.

References code, FromString(), key, kNone, remote, and skipspace().

const char* cKey::Remote ( void  )
inline

Definition at line 101 of file keys.h.

bool cKey::Save ( FILE *  f)

Definition at line 118 of file keys.c.

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

const char * cKey::ToString ( eKeys  Key,
bool  Translate = false 
)
static

Definition at line 138 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 95 of file keys.h.

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

eKeys cKey::key
private

Definition at line 96 of file keys.h.

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

char* cKey::remote
private

Definition at line 94 of file keys.h.

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


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