AusweisApp
 
Lade ...
Suche ...
Keine Treffer
FinalState.h
gehe zur Dokumentation dieser Datei
1
4
8
9#pragma once
10
11#include "AbstractState.h"
13
14namespace governikus
15{
16
18 : public AbstractState
19 , public GenericContextContainer<WorkflowContext>
20{
21 Q_OBJECT
22
23 private:
24 void run() override;
25
26 protected:
27 void onEntry(QEvent* pEvent) override
28 {
29 getContext()->setWorkflowFinished(true);
31 }
32
33 public:
34 explicit FinalState(const QSharedPointer<WorkflowContext>& pContext)
35 : AbstractState(pContext)
36 , GenericContextContainer(pContext)
37 {
38 }
39
40
41};
42
43} // namespace governikus
void onEntry(QEvent *pEvent) override
Definition AbstractState.cpp:79
AbstractState(const QSharedPointer< WorkflowContext > &pContext)
Definition AbstractState.cpp:22
FinalState(const QSharedPointer< WorkflowContext > &pContext)
Definition FinalState.h:34
void onEntry(QEvent *pEvent) override
Definition FinalState.h:27
QSharedPointer< WorkflowContext > getContext() const
Definition GenericContextContainer.h:34
GenericContextContainer(const QSharedPointer< WorkflowContext > &pContext)
Definition GenericContextContainer.h:27
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17