1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00
vdr-plugin-satip/setup.h

50 lines
1.2 KiB
C
Raw Normal View History

2014-03-08 12:07:47 +01:00
/*
* setup.h: SAT>IP plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
*/
#ifndef __SATIP_SETUP_H
#define __SATIP_SETUP_H
#include <vdr/menuitems.h>
#include <vdr/sourceparams.h>
#include "common.h"
class cSatipPluginSetup : public cMenuSetupPage
{
private:
int deviceCountM;
int operatingModeM;
const char *operatingModeTextsM[cSatipConfig::eOperatingModeCount];
int ciExtensionM;
2015-01-11 00:49:59 +01:00
int cicamsM[MAX_CICAM_COUNT];
const char *cicamTextsM[CA_SYSTEMS_TABLE_SIZE];
2014-03-08 12:07:47 +01:00
int eitScanM;
2014-10-31 21:07:33 +01:00
int numDisabledSourcesM;
int disabledSourcesM[MAX_DISABLED_SOURCES_COUNT];
2014-03-08 12:07:47 +01:00
int numDisabledFiltersM;
int disabledFilterIndexesM[SECTION_FILTER_TABLE_SIZE];
const char *disabledFilterNamesM[SECTION_FILTER_TABLE_SIZE];
cVector<const char*> helpM;
eOSState DeviceScan(void);
eOSState DeviceInfo(void);
2014-11-03 20:55:28 +01:00
eOSState ShowDeviceStatus(void);
2014-03-08 12:07:47 +01:00
eOSState ShowInfo(void);
void Setup(void);
2015-01-11 00:49:59 +01:00
void StoreCicams(const char *nameP, int *cicamsP);
2014-10-31 21:07:33 +01:00
void StoreSources(const char *nameP, int *sourcesP);
2014-03-08 12:07:47 +01:00
void StoreFilters(const char *nameP, int *valuesP);
protected:
virtual eOSState ProcessKey(eKeys keyP);
virtual void Store(void);
public:
cSatipPluginSetup();
};
#endif // __SATIP_SETUP_H