AusweisApp2
Lade ...
Suche ...
Keine Treffer
MsgHandlerEnterNumber.h
gehe zur Dokumentation dieser Datei
1
9
#pragma once
10
11
#include "
MsgContext.h
"
12
#include "
MsgHandler.h
"
13
#include "
context/WorkflowContext.h
"
14
15
#include <functional>
16
#include <tuple>
17
18
namespace
governikus
19
{
20
21
class
MsgHandlerEnterNumber
22
:
public
MsgHandler
23
{
24
private
:
25
void
setError(
const
QString& pError);
26
void
setReader(
const
QSharedPointer<const WorkflowContext>& pContext);
27
28
protected
:
29
explicit
MsgHandlerEnterNumber
(MsgType pType,
const
MsgContext
& pContext);
30
31
void
parseValue
(
const
QJsonObject& pObj,
32
const
MsgContext
& pContext,
33
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
34
ushort pCount)
35
{
36
parseValue
(pObj, pContext, pFunc, {pCount, pCount});
37
}
38
39
40
void
parseValue
(
const
QJsonObject& pObj,
41
const
MsgContext
& pContext,
42
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
43
std::pair<ushort, ushort> pCount);
44
};
45
46
47
}
// namespace governikus
MsgContext.h
MsgHandler.h
WorkflowContext.h
governikus::MsgContext
Definition
MsgContext.h:19
governikus::MsgHandlerEnterNumber
Definition
MsgHandlerEnterNumber.h:23
governikus::MsgHandlerEnterNumber::parseValue
void parseValue(const QJsonObject &pObj, const MsgContext &pContext, const std::function< void(const QString &pNumber)> &pFunc, ushort pCount)
Definition
MsgHandlerEnterNumber.h:31
governikus::MsgHandler
Definition
MsgHandler.h:20
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition
CommandApdu.h:16
src
ui
json
messages
MsgHandlerEnterNumber.h
Erzeugt von
1.9.8