AusweisApp
Lade ...
Suche ...
Keine Treffer
MsgHandlerEnterNumber.h
gehe zur Dokumentation dieser Datei
1
4
5
#pragma once
6
7
#include "
MsgContext.h
"
8
#include "
MsgHandler.h
"
9
#include "
context/WorkflowContext.h
"
10
11
#include <functional>
12
#include <tuple>
13
14
namespace
governikus
15
{
16
17
class
MsgHandlerEnterNumber
18
:
public
MsgHandler
19
{
20
private
:
21
void
setError(
const
QLatin1String pError);
22
void
setError(
const
QString& pError);
23
void
setReader(
const
MsgContext
& pContext);
24
25
protected
:
26
explicit
MsgHandlerEnterNumber
(MsgType pType,
const
MsgContext
& pContext);
27
28
void
parseValue
(
const
QJsonObject& pObj,
29
const
MsgContext
& pContext,
30
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
31
ushort pCount)
32
{
33
parseValue
(pObj, pContext, pFunc, {pCount, pCount});
34
}
35
36
37
void
parseValue
(
const
QJsonObject& pObj,
38
const
MsgContext
& pContext,
39
const
std::function<
void
(
const
QString& pNumber)>& pFunc,
40
std::pair<ushort, ushort> pCount);
41
};
42
43
44
}
// namespace governikus
MsgContext.h
MsgHandler.h
WorkflowContext.h
governikus::MsgContext
Definition
MsgContext.h:15
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:28
governikus
Defines the AccessRight and AccessRole enum.
Definition
CommandApdu.h:17
src
ui
json
messages
MsgHandlerEnterNumber.h
Erzeugt von
1.13.2