AusweisApp
Lade ...
Suche ...
Keine Treffer
UIPlugInJson.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "MessageDispatcher.h"
12#include "UIPlugIn.h"
13
14
15class test_UIPlugInJson;
16class test_MsgHandlerAuth;
17class test_MsgHandlerPersonalization;
18
19
20namespace governikus
21{
22
24 : public UIPlugIn
25{
27 Q_PLUGIN_METADATA(IID "governikus.UIPlugIn" FILE "metadata.json")
28 Q_INTERFACES(governikus::UIPlugIn)
32
33 private:
34 MessageDispatcher mMessageDispatcher;
35 bool mEnabled;
36
37 inline void callFireMessage(const QByteArray& pMsg, bool pLogging = true);
38
39 public:
42
43 void setEnabled(bool pEnable = true);
44 [[nodiscard]] bool isEnabled() const;
45
47 void doShutdown() override;
48 void onWorkflowStarted(const QSharedPointer<WorkflowRequest>& pRequest) override;
49 void onWorkflowFinished(const QSharedPointer<WorkflowRequest>& pRequest) override;
50 void onCardInfoChanged(const ReaderInfo& pInfo);
51 void onReaderEvent(const ReaderInfo& pInfo);
52 void onCardInserted(const ReaderInfo& pInfo);
53 void onStateChanged(const QString& pNewState);
54 void onProgressChanged();
55
58
61};
62
63} // namespace governikus
Definition MessageDispatcher.h:29
Definition ReaderInfo.h:18
Definition UIPlugInJson.h:25
void setEnabled(bool pEnable=true)
Definition UIPlugInJson.cpp:28
void fireMessage(const QByteArray &pMsg)
void doMessageProcessing(const QByteArray &pMsg)
Definition UIPlugInJson.cpp:145
friend class ::test_MsgHandlerPersonalization
Definition UIPlugInJson.h:31
friend class ::test_UIPlugInJson
Definition UIPlugInJson.h:29
bool isEnabled() const
Definition UIPlugInJson.cpp:54
friend class ::test_MsgHandlerAuth
Definition UIPlugInJson.h:30
Definition WorkflowRequest.h:26
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114