AusweisApp
Lade ...
Suche ...
Keine Treffer
CommandLineParser.h
gehe zur Dokumentation dieser Datei
1
5
/*
6
* \brief Provides and parses command line options.
7
*/
8
9
#pragma once
10
11
#include <QCommandLineParser>
12
#include <QCoreApplication>
13
14
namespace
governikus
15
{
16
17
class
CommandLineParser
18
{
19
Q_DISABLE_COPY
(
CommandLineParser
)
20
21
private
:
22
QCommandLineParser
mParser;
23
const
QCommandLineOption
mOptionKeepLog;
24
const
QCommandLineOption
mOptionNoLogFile;
25
const
QCommandLineOption
mOptionNoLogHandler;
26
const
QCommandLineOption
mOptionShowWindow;
27
const
QCommandLineOption
mOptionProxy;
28
const
QCommandLineOption
mOptionUi;
29
const
QCommandLineOption
mOptionPort;
30
const
QCommandLineOption
mOptionAddresses;
31
32
void
addOptions();
33
void
parseUiPlugin();
34
35
protected
:
36
CommandLineParser
();
37
~CommandLineParser
() =
default
;
38
39
public
:
40
static
CommandLineParser
&
getInstance
();
41
42
void
parse
(
const
QCoreApplication
*
pApp
= QCoreApplication::instance());
43
44
};
45
46
}
// namespace governikus
governikus::CommandLineParser
Definition
CommandLineParser.h:18
governikus::CommandLineParser::getInstance
static CommandLineParser & getInstance()
governikus::CommandLineParser::~CommandLineParser
~CommandLineParser()=default
governikus::CommandLineParser::parse
void parse(const QCoreApplication *pApp=QCoreApplication::instance())
Definition
CommandLineParser.cpp:60
governikus::CommandLineParser::CommandLineParser
CommandLineParser()
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition
CommandApdu.h:17
governikus::decodeObject
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition
ASN1TemplateUtil.h:114
src
init
CommandLineParser.h
Erzeugt von
1.10.0