|
SASC-NG
DVBSoftCAM
|
#include <global.h>
Static Public Member Functions | |
| static bool | Active (bool log) |
| static void | HouseKeeping (void) |
| static char * | CurrKeyStr (int cardindex, int num, const char **id) |
| static void | CaidsChanged (void) |
| bool cGlobal::Active | ( | bool | log | ) | [static] |
Definition at line 2012 of file cam.c.
References cSimpleList< T >::First(), cCams::listMutex, and cSimpleList< T >::Next().
Referenced by cScHousekeeper::Action(), cMenuSetupSc::ProcessKey(), and cScPlugin::SVDRPCommand().
| void cGlobal::CaidsChanged | ( | void | ) | [static] |
Definition at line 2019 of file cam.c.
References cSimpleList< T >::First(), L_CORE_CAIDS, cCams::listMutex, cSimpleList< T >::Next(), and PRINTF.
Referenced by cOverrides::PostLoad().
{
cMutexLock lock(&cams.listMutex);
PRINTF(L_CORE_CAIDS,"caid list rebuild triggered");
for(cCam *c=cams.First(); c; c=cams.Next(c)) c->CaidsChanged();
}
| char * cGlobal::CurrKeyStr | ( | int | cardindex, |
| int | num, | ||
| const char ** | id | ||
| ) | [static] |
Definition at line 1993 of file cam.c.
References cCam::CurrentKeyStr(), cSimpleList< T >::First(), cCams::listMutex, cSimpleList< T >::Next(), and tr.
Referenced by cMenuInfoSc::cMenuInfoSc().
{
cMutexLock lock(&cams.listMutex);
char *str=0;
cCam *c;
for(c=cams.First(); c && camindex>0; c=cams.Next(c), camindex--);
if(c) {
str=c->CurrentKeyStr(num,id);
if(!str && num==0) str=strdup(tr("(none)"));
}
return str;
}
| void cGlobal::HouseKeeping | ( | void | ) | [static] |
Definition at line 2006 of file cam.c.
References cSimpleList< T >::First(), cCams::listMutex, and cSimpleList< T >::Next().
Referenced by cScHousekeeper::Action().