SASC
DVBSoftCAM

scsetup.h

Go to the documentation of this file.
00001 /*
00002  * Softcam plugin to VDR (C++)
00003  *
00004  * This code is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This code is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
00018  */
00019 
00020 #ifndef ___SC_SETUP_H
00021 #define ___SC_SETUP_H
00022 
00023 #define MAXSCCAPS 10
00024 
00025 // ----------------------------------------------------------------
00026 
00027 class cScSetup {
00028 public:
00029   int AutoUpdate;
00030   int ScCaps[MAXSCCAPS];
00031   int ConcurrentFF;
00032   int LocalPriority;
00033   int ForceTransfer;
00034   int PrestartAU;
00035   int SuperKeys;
00036   int EcmCache;
00037   int DeCsaTsBuffSize;
00038 public:
00039   cScSetup(void);
00040   void Check(void);
00041   void Store(bool AsIs);
00042   bool CapCheck(int n);
00043   };
00044 
00045 extern cScSetup ScSetup;
00046 
00047 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines