|
SASC
DVBSoftCAM
|
Inheritance diagram for cSystemLinkScNagra:Public Member Functions | |
| cSystemLinkScNagra (void) | |
| virtual bool | CanHandle (unsigned short SysId) |
| virtual cSystem * | Create (void) |
| cSystemLinkScNagra (void) | |
| virtual bool | CanHandle (unsigned short SysId) |
| virtual cSystem * | Create (void) |
Definition at line 74 of file sc-nagra.c.
| cSystemLinkScNagra::cSystemLinkScNagra | ( | void | ) |
Definition at line 83 of file sc-nagra.c.
References cOpts::Add(), allowT14, Feature, cFeature::NeedsSmartCard(), cSystemLink::opts, SYSTEM_NAME, and trNOOP.
:cSystemLink(SYSTEM_NAME,SYSTEM_PRI) { opts=new cOpts(SYSTEM_NAME,1); opts->Add(new cOptBool("AllowT14",trNOOP("SC-Nagra: use T14 Nagra mode"),&allowT14)); Feature.NeedsSmartCard(); }
| cSystemLinkScNagra::cSystemLinkScNagra | ( | void | ) |
| bool cSystemLinkScNagra::CanHandle | ( | unsigned short | SysId | ) | [virtual] |
Implements cSystemLink.
Definition at line 91 of file sc-nagra.c.
References cSmartCard::CanHandle(), cSmartCards::LockCard(), cSmartCards::ReleaseCard(), SC_ID, and smartcards.
{
bool res=false;
cSmartCard *card=smartcards.LockCard(SC_ID);
if(card) {
res=card->CanHandle(SysId);
smartcards.ReleaseCard(card);
}
return res;
}
| virtual bool cSystemLinkScNagra::CanHandle | ( | unsigned short | SysId | ) | [virtual] |
Implements cSystemLink.
| virtual cSystem* cSystemLinkScNagra::Create | ( | void | ) | [inline, virtual] |
| virtual cSystem* cSystemLinkScNagra::Create | ( | void | ) | [inline, virtual] |