📄 sc-cryptoworks.c
字号:
/* * Softcam plugin to VDR (C++) * * This code is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This code is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Or, point your browser to http://www.gnu.org/copyleft/gpl.html */#include <stdio.h>#include <stdlib.h>#include <string.h>#include "system-common.h"#include "smartcard.h"#include "data.h"#include "parse.h"#include "crypto.h"#include "opts.h"#include "misc.h"#include "log-sc.h"#define SYSTEM_NAME "SC-Cryptoworks"#define SYSTEM_PRI -5#define SC_NAME "Cryptoworks"#define SC_ID MAKE_SC_ID('C','r','W','o')#define L_SC 10#define L_SC_EXTRA LCLASS(L_SC,L_SC_LASTDEF<<1)#define L_SC_ALL LALL(L_SC_EXTRA)static const struct LogModule lm_sc = { (LMOD_ENABLE|L_SC_ALL)&LOPT_MASK, (LMOD_ENABLE|L_SC_DEFDEF)&LOPT_MASK, "sc-cryptoworks", { L_SC_DEFNAMES,"extra" } };ADD_MODULE(L_SC,lm_sc)static int disableParental=0;// -- cSystemScCryptoworks ---------------------------------------------------------------class cSystemScCryptoworks : public cSystemScCore {public: cSystemScCryptoworks(void); };cSystemScCryptoworks::cSystemScCryptoworks(void):cSystemScCore(SYSTEM_NAME,SYSTEM_PRI,SC_ID,"SC Cryptoworks"){ hasLogger=true;}// -- cSystemLinkScCryptoworks --------------------------------------------------------static const tI18nPhrase Phrases[] = { { "SC-Cryptoworks: Parental rating", "SC-Cryptoworks: Altersbeschr鋘kung", "", "", "SC-Cryptoworks: Leeftijdsadvies", "", "SC-Cryptoworks: Autorisation parentale", "", "SC-Cryptoworks: Ik鋜aja", "SC-Cryptoworks: wska糿ik rodzica", "", "", "", }, { "don't touch", "nicht 鋘dern", "", "", "niet wijzigen", "", "Ne pas modifier", "", "鋖
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -