AusweisApp
Lade ...
Suche ...
Keine Treffer
CommandLineParser.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include <QCommandLineParser>
8#include <QCoreApplication>
9
10namespace governikus
11{
12
14{
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:
33 ~CommandLineParser() = default;
34
35 public:
37
38 void parse(const QCoreApplication* pApp = QCoreApplication::instance());
39
40};
41
42} // namespace governikus
Definition CommandLineParser.h:14
static CommandLineParser & getInstance()
void parse(const QCoreApplication *pApp=QCoreApplication::instance())
Definition CommandLineParser.cpp:60
Defines the AccessRight and AccessRole enum.
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:112