AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
CardReturnCode.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "EnumHelper.h"
10 
11 namespace governikus
12 {
13 
14 class GlobalStatus;
15 
16 
17 defineEnumType(CardReturnCode,
18  UNDEFINED,
19  OK,
20  CARD_NOT_FOUND,
21  UNKNOWN,
22  INPUT_TIME_OUT,
23  INVALID_CAN,
24  INVALID_PIN,
25  INVALID_PUK,
26  COMMAND_FAILED,
27  CANCELLATION_BY_USER,
28  NEW_PIN_MISMATCH,
29  NEW_PIN_INVALID_LENGTH,
30  PIN_BLOCKED,
31  PIN_NOT_BLOCKED,
32  PUK_INOPERATIVE,
33  PROTOCOL_ERROR,
34  UNEXPECTED_TRANSMIT_STATUS)
35 
36 
37 class CardReturnCodeUtil
38 {
39  private:
40  CardReturnCodeUtil()
41  {
42 
43  }
44 
45 
46  public:
47  static GlobalStatus toGlobalStatus(CardReturnCode pCode);
48 };
49 
50 } /* namespace governikus */
GlobalStatus toGlobalStatus(DeviceError pDeviceError)
Definition: DeviceError.cpp:17
Definition: GlobalStatus.h:18
UNKNOWN
Definition: SelfAuthenticationData.h:32
defineEnumType(UiModule, CURRENT, DEFAULT, IDENTIFY, SETTINGS, PINMANAGEMENT) defineEnumType(StatusFormat
UI modules that can be requested to show.