1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
/******************************************************************************
* w_scan_cpp - a dtv channel scanner based on VDR (www.tvdr.de) and it's
* Plugins.
*
* See the README file for copyright information and how to reach the author.
*****************************************************************************/
#pragma once
#include "Helpers.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <vdr/config.h>
#pragma GCC diagnostic pop
extern cPlugin* wirbelscan;
extern cPlugin* satip;
class wsetup {
public:
int verbosity;
int logFile;
int DVB_Type;
int DVBT_Inversion;
int DVBC_Inversion;
int DVBC_Symbolrate;
int DVBC_QAM;
int DVBC_Network_PID;
int CountryIndex;
int SatIndex;
int enable_s2;
int ATSC_type;
uint32_t scanflags;
int scan_remove_invalid;
int scan_update_existing;
int scan_append_new;
//std::vector<TChannel*> SingleTransponder;
//int tp_only;
/*********************/
std::string adapter;
bool HelpText;
std::string OutputFile;
std::vector<std::string> SortCriteria;
std::string SatipSvr;
std::string SatipAddr;
std::string SatipModel;
std::string SatipDesc;
std::string FemonChannel;
};
extern wsetup WirbelscanSetup;
extern std::string OutputFormat;
bool ParseArguments(int argc, char* argv[]);
bool ParseSatipServer(std::string s);
|