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:
|
2015-03-17 20:25:15 +01:00
|
|
|
bool detachedModeM;
|
2014-03-08 12:07:47 +01:00
|
|
|
int deviceCountM;
|
2014-03-10 20:21:08 +01:00
|
|
|
int operatingModeM;
|
2016-12-11 00:18:12 +01:00
|
|
|
int transportModeM;
|
2014-03-13 17:23:55 +01:00
|
|
|
const char *operatingModeTextsM[cSatipConfig::eOperatingModeCount];
|
2016-12-11 00:18:12 +01:00
|
|
|
const char *transportModeTextsM[cSatipConfig::eTransportModeCount];
|
2015-01-05 23:58:35 +01:00
|
|
|
int ciExtensionM;
|
2019-10-27 18:27:09 +01:00
|
|
|
int frontendReuseM;
|
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;
|
|
|
|
|
2014-03-13 17:23:55 +01:00
|
|
|
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
|