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;
|
2014-03-10 20:21:08 +01:00
|
|
|
int operatingModeM;
|
2014-03-13 17:23:55 +01:00
|
|
|
const char *operatingModeTextsM[cSatipConfig::eOperatingModeCount];
|
2015-01-05 23:58:35 +01:00
|
|
|
int ciExtensionM;
|
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);
|
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
|