|
SASC
DVBSoftCAM
|
Inheritance diagram for cMenuInfoSc:Public Member Functions | |
| cMenuInfoSc (void) | |
| virtual eOSState | ProcessKey (eKeys Key) |
| cMenuInfoSc (void) | |
| virtual eOSState | ProcessKey (eKeys Key) |
| cMenuInfoSc::cMenuInfoSc | ( | void | ) |
Definition at line 564 of file sc.c.
References cOsdMenu::Add(), cGlobal::CurrKeyStr(), cOsdMenu::Display(), Feature, free, id, cFeature::KeyFile(), cSystem::KeyStats(), and tr.
:cOsdMenu(tr("SoftCAM"),25) { Add(new cScInfoItem(tr("Current keys:"))); int d=0, n; do { n=0; char *ks; do { const char *id; if((ks=cGlobal::CurrKeyStr(d,n,&id))) { char buffer[32]; snprintf(buffer,sizeof(buffer)," [%s.%d]",id,n); Add(new cScInfoItem(buffer,ks)); free(ks); n++; } } while(ks); d++; } while(n>0); if(Feature.KeyFile()) { Add(new cScInfoItem(tr("Key update status:"))); int fk, nk; cSystem::KeyStats(fk,nk); // TRANSLATORS: 2 leading spaces! Add(new cScInfoItem(tr(" [Seen keys]"),fk)); // TRANSLATORS: 2 leading spaces! Add(new cScInfoItem(tr(" [New keys]"), nk)); } Display(); }
| cMenuInfoSc::cMenuInfoSc | ( | void | ) |