|
vdr 2.6.4
|
#include <sources.h>
Public Member Functions | |
| cSource * | Get (int Code) |
| bool | ContainsSourceType (char SourceType) |
Public Member Functions inherited from cConfig< cSource > | |
| 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< T > | |
| cList (const char *NeedsLocking=NULL) | |
| const T * | Get (int Index) const |
| const T * | First (void) const |
| const T * | Last (void) const |
| const T * | Prev (const T *Object) const |
| const T * | Next (const T *Object) const |
| T * | Get (int Index) |
| T * | First (void) |
| T * | Last (void) |
| T * | Prev (const T *Object) |
| T * | Next (const T *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 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 |
| bool cSources::ContainsSourceType | ( | char | SourceType | ) |
Definition at line 128 of file sources.c.
References cList< T >::First(), cList< T >::Next(), and cSource::ToChar().
Referenced by cSourceParam::cSourceParam().
| cSource * cSources::Get | ( | int | Code | ) |
Definition at line 119 of file sources.c.
References cList< T >::First(), and cList< T >::Next().
Referenced by cMenuEditSrcItem::cMenuEditSrcItem(), and cDiseqc::Parse().