Skip to content

Commit f116a3d

Browse files
Add revision: v2.3.0
1 parent c7d4d9a commit f116a3d

12 files changed

Lines changed: 107 additions & 48 deletions

File tree

AusweisApp2.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>AusweisApp2.framework/AusweisApp2</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64_x86_64-simulator</string>
11+
<string>ios-arm64</string>
1212
<key>LibraryPath</key>
1313
<string>AusweisApp2.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17-
<string>x86_64</string>
1817
</array>
1918
<key>SupportedPlatform</key>
2019
<string>ios</string>
21-
<key>SupportedPlatformVariant</key>
22-
<string>simulator</string>
2320
</dict>
2421
<dict>
2522
<key>BinaryPath</key>
2623
<string>AusweisApp2.framework/AusweisApp2</string>
2724
<key>LibraryIdentifier</key>
28-
<string>ios-arm64</string>
25+
<string>ios-arm64_x86_64-simulator</string>
2926
<key>LibraryPath</key>
3027
<string>AusweisApp2.framework</string>
3128
<key>SupportedArchitectures</key>
3229
<array>
3330
<string>arm64</string>
31+
<string>x86_64</string>
3432
</array>
3533
<key>SupportedPlatform</key>
3634
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* Copyright (c) 2019-2025 Governikus GmbH & Co. KG, Germany
3+
*/
4+
5+
#ifndef AUSWEISAPP_HEADER
6+
#define AUSWEISAPP_HEADER
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
#include <stdbool.h>
13+
14+
typedef void (* AusweisAppCallback)(const char* pMsg);
15+
16+
bool ausweisapp_init(AusweisAppCallback pCallback, const char* pCmdline);
17+
void ausweisapp_shutdown(void);
18+
bool ausweisapp_is_running(void);
19+
void ausweisapp_send(const char* pCmd);
20+
21+
22+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || (defined(__cplusplus) && __cplusplus >= 201402L) || defined(__clang__) || defined(__GNUC__)
23+
#define DEPRECATED [[deprecated]]
24+
#else
25+
#define DEPRECATED
26+
#endif
27+
28+
typedef AusweisAppCallback AusweisApp2Callback;
29+
30+
DEPRECATED bool ausweisapp2_init(AusweisApp2Callback pCallback, const char* pCmdline);
31+
DEPRECATED void ausweisapp2_shutdown(void);
32+
DEPRECATED bool ausweisapp2_is_running(void);
33+
DEPRECATED void ausweisapp2_send(const char* pCmd);
34+
35+
#ifdef __cplusplus
36+
}
37+
#endif
38+
39+
#endif // AUSWEISAPP_HEADER
Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
/**
2-
* Copyright (c) 2019-2024 Governikus GmbH & Co. KG, Germany
2+
* Copyright (c) 2019-2025 Governikus GmbH & Co. KG, Germany
33
*/
44

5-
#ifndef AUSWEISAPP2_HEADER
6-
#define AUSWEISAPP2_HEADER
7-
8-
#ifdef __cplusplus
9-
extern "C" {
10-
#endif
11-
12-
#include <stdbool.h>
13-
14-
typedef void (* AusweisApp2Callback)(const char* pMsg);
15-
16-
bool ausweisapp2_init(AusweisApp2Callback pCallback, const char* pCmdline);
17-
void ausweisapp2_shutdown(void);
18-
bool ausweisapp2_is_running(void);
19-
void ausweisapp2_send(const char* pCmd);
20-
21-
#ifdef __cplusplus
22-
}
5+
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
6+
#pragma message("Header 'AusweisApp2.h` is deprecated! Use 'AusweisApp.h' instead.")
237
#endif
248

25-
#endif // AUSWEISAPP2_HEADER
9+
#include "AusweisApp.h"
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module AusweisApp2 {
2+
header "Headers/AusweisApp.h"
23
header "Headers/AusweisApp2.h"
34
export *
45
}
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* Copyright (c) 2019-2025 Governikus GmbH & Co. KG, Germany
3+
*/
4+
5+
#ifndef AUSWEISAPP_HEADER
6+
#define AUSWEISAPP_HEADER
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
#include <stdbool.h>
13+
14+
typedef void (* AusweisAppCallback)(const char* pMsg);
15+
16+
bool ausweisapp_init(AusweisAppCallback pCallback, const char* pCmdline);
17+
void ausweisapp_shutdown(void);
18+
bool ausweisapp_is_running(void);
19+
void ausweisapp_send(const char* pCmd);
20+
21+
22+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || (defined(__cplusplus) && __cplusplus >= 201402L) || defined(__clang__) || defined(__GNUC__)
23+
#define DEPRECATED [[deprecated]]
24+
#else
25+
#define DEPRECATED
26+
#endif
27+
28+
typedef AusweisAppCallback AusweisApp2Callback;
29+
30+
DEPRECATED bool ausweisapp2_init(AusweisApp2Callback pCallback, const char* pCmdline);
31+
DEPRECATED void ausweisapp2_shutdown(void);
32+
DEPRECATED bool ausweisapp2_is_running(void);
33+
DEPRECATED void ausweisapp2_send(const char* pCmd);
34+
35+
#ifdef __cplusplus
36+
}
37+
#endif
38+
39+
#endif // AUSWEISAPP_HEADER
Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
/**
2-
* Copyright (c) 2019-2024 Governikus GmbH & Co. KG, Germany
2+
* Copyright (c) 2019-2025 Governikus GmbH & Co. KG, Germany
33
*/
44

5-
#ifndef AUSWEISAPP2_HEADER
6-
#define AUSWEISAPP2_HEADER
7-
8-
#ifdef __cplusplus
9-
extern "C" {
10-
#endif
11-
12-
#include <stdbool.h>
13-
14-
typedef void (* AusweisApp2Callback)(const char* pMsg);
15-
16-
bool ausweisapp2_init(AusweisApp2Callback pCallback, const char* pCmdline);
17-
void ausweisapp2_shutdown(void);
18-
bool ausweisapp2_is_running(void);
19-
void ausweisapp2_send(const char* pCmd);
20-
21-
#ifdef __cplusplus
22-
}
5+
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
6+
#pragma message("Header 'AusweisApp2.h` is deprecated! Use 'AusweisApp.h' instead.")
237
#endif
248

25-
#endif // AUSWEISAPP2_HEADER
9+
#include "AusweisApp.h"
Binary file not shown.

0 commit comments

Comments
 (0)