AusweisApp
Lade ...
Suche ...
Keine Treffer
CommandLineParser.h
gehe zur Dokumentation dieser Datei
1
5
#pragma once
6
7
#include <QCommandLineParser>
8
#include <QCoreApplication>
9
10
namespace
governikus
11
{
12
13
class
CommandLineParser
14
{
15
Q_DISABLE_COPY
(
CommandLineParser
)
16
17
private
:
18
QCommandLineParser
mParser;
19
const
QCommandLineOption
mOptionKeepLog;
20
const
QCommandLineOption
mOptionNoLogFile;
21
const
QCommandLineOption
mOptionNoLogHandler;
22
const
QCommandLineOption
mOptionShowWindow;
23
const
QCommandLineOption
mOptionProxy;
24
const
QCommandLineOption
mOptionUi;
25
const
QCommandLineOption
mOptionPort;
26
const
QCommandLineOption
mOptionAddresses;
27
28
void
addOptions();
29
void
parseUiPlugin()
const
;
30
31
protected
:
32
CommandLineParser
();
33
~CommandLineParser
() =
default
;
34
35
public
:
36
static
CommandLineParser
&
getInstance
();
37
38
void
parse
(
const
QCoreApplication
*
pApp
= QCoreApplication::instance());
39
40
};
41
42
}
// namespace governikus
governikus::CommandLineParser
Definition
CommandLineParser.h:14
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
Defines the AccessRight and AccessRole enum.
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:112
src
init
CommandLineParser.h
Erzeugt von
1.10.0