AusweisApp2
Lade ...
Suche ...
Keine Treffer
ChangePinModel.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "Env.h"
12#include "WorkflowModel.h"
13#include "WorkflowRequest.h"
15
16#include <QObject>
17#include <QQmlEngine>
18#include <QSharedPointer>
19#include <QString>
20
21namespace governikus
22{
23
25 : public WorkflowModel
26{
27 Q_OBJECT
28 friend class Env;
29
30 private:
31 QSharedPointer<ChangePinContext> mContext;
32 ChangePinModel() = default;
33 ~ChangePinModel() override = default;
34
35 public:
36 void resetChangePinContext(const QSharedPointer<ChangePinContext>& pContext = QSharedPointer<ChangePinContext>());
37
38 Q_INVOKABLE void startWorkflow(bool pRequestTransportPin);
39 [[nodiscard]] QString getResultString() const override;
40 [[nodiscard]] QVector<ReaderManagerPlugInType> getSupportedReaderPlugInTypes() const override;
41
42 private Q_SLOTS:
43 void onPaceResultUpdated();
44
45 Q_SIGNALS:
46 void fireStartWorkflow(const QSharedPointer<WorkflowRequest>& pRequest);
49};
50
51
52} // namespace governikus
Definition ChangePinModel.h:26
void resetChangePinContext(const QSharedPointer< ChangePinContext > &pContext=QSharedPointer< ChangePinContext >())
Definition ChangePinModel.cpp:13
void fireStartWorkflow(const QSharedPointer< WorkflowRequest > &pRequest)
Q_INVOKABLE void startWorkflow(bool pRequestTransportPin)
Definition ChangePinModel.cpp:30
QVector< ReaderManagerPlugInType > getSupportedReaderPlugInTypes() const override
Definition ChangePinModel.cpp:47
QString getResultString() const override
Definition ChangePinModel.cpp:36
Definition Env.h:46
Definition WorkflowModel.h:25
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16