AusweisApp
Lade ...
Suche ...
Keine Treffer
WifiInfo.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include <QHostAddress>
12#include <QObject>
13
14class test_WifiInfo;
15
16namespace governikus
17{
18
20 : public QObject
21{
23 friend class ::test_WifiInfo;
24
25 private:
26 bool mWifiEnabled;
27#if defined(Q_OS_ANDROID)
29#endif
30
31 static bool isPrivateIp(const QHostAddress& pAddress);
32 static bool hasPrivateIpAddress();
33
34 [[nodiscard]] bool getCurrentWifiEnabled() const;
35
36#if defined(Q_OS_ANDROID)
37
38 protected:
39 void timerEvent(QTimerEvent* pEvent) override;
40#endif
41
42 public:
43 WifiInfo();
44 ~WifiInfo() override = default;
45
46 [[nodiscard]] bool isWifiEnabled() const;
47
50};
51
52
53} // namespace governikus
Definition WifiInfo.h:21
bool isWifiEnabled() const
Definition WifiInfo_android.cpp:71
WifiInfo()
Definition WifiInfo_android.cpp:19
void fireWifiEnabledChanged(bool pEnabled)
~WifiInfo() override=default
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