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
14namespace governikus
15{
16
18{
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:
37 ~CommandLineParser() = default;
38
39 public:
41
42 void parse(const QCoreApplication* pApp = QCoreApplication::instance());
43
44};
45
46} // namespace governikus
Definition CommandLineParser.h:18
static CommandLineParser & getInstance()
void parse(const QCoreApplication *pApp=QCoreApplication::instance())
Definition CommandLineParser.cpp:60
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114