vdr 2.7.5
|
#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 () override |
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 cKey * | Get (int Index) const |
const cKey * | First (void) const |
const cKey * | Last (void) const |
const cKey * | Prev (const cKey *Object) const |
const cKey * | Next (const cKey *Object) const |
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 cListObject * | Get (int Index) const |
cListObject * | Get (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 | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
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().
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 PutSetup().
bool cKeys::KnowsRemote | ( | const char * | Remote | ) |
Definition at line 158 of file keys.c.
References cList< cKey >::First(), and cList< cKey >::Next().
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.