-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCmdOpts.h
54 lines (51 loc) · 1.37 KB
/
CmdOpts.h
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
53
54
/******************************************************************************
* 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 ATSC_type;
uint32_t scanflags;
int scan_remove_invalid;
int scan_update_existing;
int scan_append_new;
int SignalWaitTime;
int LockTimeout;
//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;
bool ParseLCN;
};
extern wsetup WirbelscanSetup;
extern std::string OutputFormat;
bool ParseArguments(int argc, char* argv[]);
bool ParseSatipServer(std::string s);