|
SASC
DVBSoftCAM
|
Inheritance diagram for cSystemLinkScCryptoworks:Public Member Functions | |
| cSystemLinkScCryptoworks (void) | |
| virtual bool | CanHandle (unsigned short SysId) |
| virtual cSystem * | Create (void) |
| cSystemLinkScCryptoworks (void) | |
| virtual bool | CanHandle (unsigned short SysId) |
| virtual cSystem * | Create (void) |
Definition at line 72 of file sc-cryptoworks.c.
| cSystemLinkScCryptoworks::cSystemLinkScCryptoworks | ( | void | ) |
Definition at line 81 of file sc-cryptoworks.c.
References cOpts::Add(), disableParental, Feature, cFeature::NeedsSmartCard(), cSystemLink::opts, SYSTEM_NAME, and trNOOP.
:cSystemLink(SYSTEM_NAME,SYSTEM_PRI) { static const char *rat[] = { trNOOP("don't touch"), trNOOP("disable") }; opts=new cOpts(SYSTEM_NAME,1); opts->Add(new cOptSel("DisableParental",trNOOP("SC-Cryptoworks: Parental rating"),&disableParental,sizeof(rat)/sizeof(char *),rat)); Feature.NeedsSmartCard(); }
| cSystemLinkScCryptoworks::cSystemLinkScCryptoworks | ( | void | ) |
| bool cSystemLinkScCryptoworks::CanHandle | ( | unsigned short | SysId | ) | [virtual] |
Implements cSystemLink.
Definition at line 94 of file sc-cryptoworks.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 cSystemLinkScCryptoworks::CanHandle | ( | unsigned short | SysId | ) | [virtual] |
Implements cSystemLink.
| virtual cSystem* cSystemLinkScCryptoworks::Create | ( | void | ) | [inline, virtual] |
Implements cSystemLink.
Definition at line 76 of file sc-cryptoworks.c.
{ return new cSystemScCryptoworks; }
| virtual cSystem* cSystemLinkScCryptoworks::Create | ( | void | ) | [inline, virtual] |
Implements cSystemLink.
Definition at line 76 of file sc-cryptoworks.c.
{ return new cSystemScCryptoworks; }