AusweisApp
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
QLatin1String pError);
26
void
setError(
const
QString& pError);
27
void
setReader(
const
MsgContext
& pContext);
28
29
protected
:
30
explicit
MsgHandlerEnterNumber
(MsgType pType,
const
MsgContext
& pContext);
31
32
void
parseValue
(
const
QJsonObject& pObj,
33
const
MsgContext
& pContext,
34
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
35
ushort pCount)
36
{
37
parseValue
(pObj, pContext, pFunc, {pCount, pCount});
38
}
39
40
41
void
parseValue
(
const
QJsonObject& pObj,
42
const
MsgContext
& pContext,
43
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
44
std::pair<ushort, ushort> pCount);
45
};
46
47
48
}
// namespace governikus
MsgContext.h
MsgHandler.h
WorkflowContext.h
governikus::MsgContext
Definition
MsgContext.h:19
governikus::MsgHandlerEnterNumber
Definition
MsgHandlerEnterNumber.h:23
governikus::MsgHandlerEnterNumber::MsgHandlerEnterNumber
MsgHandlerEnterNumber(MsgType pType, const MsgContext &pContext)
Definition
MsgHandlerEnterNumber.cpp:14
governikus::MsgHandlerEnterNumber::parseValue
void parseValue(const QJsonObject &pObj, const MsgContext &pContext, const std::function< void(const QString &pNumber)> &pFunc, ushort pCount)
Definition
MsgHandlerEnterNumber.h:32
governikus::MsgHandler
Definition
MsgHandler.h:20
governikus
Implementation of GeneralAuthenticate response APDUs.
Definition
CommandApdu.h:17
src
ui
json
messages
MsgHandlerEnterNumber.h
Erzeugt von
1.11.0