vdr 2.7.3
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)
 
- Public Member Functions inherited from cConfig< cKey >
 cConfig (const char *NeedsLocking=NULL)
 
virtual ~cConfig ()
 
const char * FileName (void)
 
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
 
bool Save (void) const
 
- Public Member Functions inherited from cList< cKey >
 cList (const char *NeedsLocking=NULL)
 
const 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)
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
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)
 
bool Contains (const cListObject *Object) const
 
const cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
 
- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 
cStateLock stateLock
 
const char * needsLocking
 
bool useGarbageCollector
 

Detailed Description

Definition at line 110 of file keys.h.

Member Function Documentation

◆ Get()

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

Definition at line 169 of file keys.c.

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

Referenced by cRemote::Put().

◆ GetSetup()

const char * cKeys::GetSetup ( const char * Remote)

Definition at line 180 of file keys.c.

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

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

◆ KnowsRemote()

bool cKeys::KnowsRemote ( const char * Remote)

Definition at line 158 of file keys.c.

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

Referenced by cInterface::LearnKeys().

◆ PutSetup()

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

Definition at line 191 of file keys.c.

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

Referenced by cRemote::PutSetup().


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