vdr  1.7.31
Public Member Functions | List of all members
cKeys Class Reference

#include <keys.h>

Public Member Functions

bool KnowsRemote (const char *Remote)
eKeys Get (const char *Remote, const char *Code)
const char * GetSetup (const char *Remote)
void PutSetup (const char *Remote, const char *Setup)
bool KnowsRemote (const char *Remote)
eKeys Get (const char *Remote, const char *Code)
const char * GetSetup (const char *Remote)
void PutSetup (const char *Remote, const char *Setup)
- Public Member Functions inherited from cConfig< cKey >
 cConfig (void)
 cConfig (void)
virtual ~cConfig ()
virtual ~cConfig ()
const char * FileName (void)
const char * FileName (void)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Save (void)
bool Save (void)
- Public Member Functions inherited from cList< cKey >
cKeyGet (int Index) const
cKeyGet (int Index) const
cKeyFirst (void) const
cKeyFirst (void) const
cKeyLast (void) const
cKeyLast (void) const
cKeyPrev (const cKey *object) const
cKeyPrev (const cKey *object) const
cKeyNext (const cKey *object) const
cKeyNext (const cKey *object) const
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
virtual void Clear (void)
int Count (void) const
void Sort (void)
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
virtual void Clear (void)
int Count (void) const
void Sort (void)

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (void)
 cListBase (void)
- Protected Attributes inherited from cListBase
cListObjectobjects
cListObjectlastObject
int count

Detailed Description

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

Member Function Documentation

eKeys cKeys::Get ( const char *  Remote,
const char *  Code 
)

Definition at line 168 of file keys.c.

References cList< cKey >::First(), kNone, and cList< cKey >::Next().

Referenced by cRemote::Put().

eKeys cKeys::Get ( const char *  Remote,
const char *  Code 
)
const char* cKeys::GetSetup ( const char *  Remote)
const char * cKeys::GetSetup ( const char *  Remote)

Definition at line 179 of file keys.c.

References cList< cKey >::First(), k_Setup, and cList< cKey >::Next().

Referenced by cRemote::GetSetup(), and PutSetup().

bool cKeys::KnowsRemote ( const char *  Remote)
bool cKeys::KnowsRemote ( const char *  Remote)

Definition at line 157 of file keys.c.

References cList< cKey >::First(), and cList< cKey >::Next().

Referenced by cInterface::LearnKeys().

void cKeys::PutSetup ( const char *  Remote,
const char *  Setup 
)
void cKeys::PutSetup ( const char *  Remote,
const char *  Setup 
)

Definition at line 190 of file keys.c.

References cListBase::Add(), esyslog, GetSetup(), and k_Setup.

Referenced by cRemote::PutSetup().


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