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