AusweisApp
Lade ...
Suche ...
Keine Treffer
AutoStart.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include <QString>
8
9#ifdef Q_OS_WIN
10 #include <QSettings>
11 #include <QSharedPointer>
12#endif
13
14class test_GeneralSettings;
15
16namespace governikus
17{
18
20{
21 friend class ::test_GeneralSettings;
22
23 private:
24#ifdef Q_OS_WIN
25 [[nodiscard]] static QString appPath();
27#endif
28 [[nodiscard]] static bool setInternal(bool pEnabled);
29
30 public:
31 [[nodiscard]] static bool enabled();
32 [[nodiscard]] static bool isSetByAdmin();
33 [[nodiscard]] static bool set(bool pEnabled);
34#ifdef Q_OS_WIN
35 [[nodiscard]] static bool removeOldAutostart();
36#endif
37};
38
39
40} // namespace governikus
Definition AutoStart.h:20
static bool set(bool pEnabled)
Definition AutoStart.cpp:13
static bool enabled()
Definition AutoStart_generic.cpp:14
static bool isSetByAdmin()
Definition AutoStart_generic.cpp:20
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