|
1 | 1 |
|
2 | 2 | #if TARGET_OS_SIMULATOR |
3 | 3 | #if 0 |
| 4 | +#elif defined(__arm64__) && __arm64__ |
| 5 | +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) |
| 6 | +#ifndef SDKCONFIGURATIONS_SWIFT_H |
| 7 | +#define SDKCONFIGURATIONS_SWIFT_H |
| 8 | +#pragma clang diagnostic push |
| 9 | +#pragma clang diagnostic ignored "-Wgcc-compat" |
| 10 | + |
| 11 | +#if !defined(__has_include) |
| 12 | +# define __has_include(x) 0 |
| 13 | +#endif |
| 14 | +#if !defined(__has_attribute) |
| 15 | +# define __has_attribute(x) 0 |
| 16 | +#endif |
| 17 | +#if !defined(__has_feature) |
| 18 | +# define __has_feature(x) 0 |
| 19 | +#endif |
| 20 | +#if !defined(__has_warning) |
| 21 | +# define __has_warning(x) 0 |
| 22 | +#endif |
| 23 | + |
| 24 | +#if __has_include(<swift/objc-prologue.h>) |
| 25 | +# include <swift/objc-prologue.h> |
| 26 | +#endif |
| 27 | + |
| 28 | +#pragma clang diagnostic ignored "-Wauto-import" |
| 29 | +#include <Foundation/Foundation.h> |
| 30 | +#include <stdint.h> |
| 31 | +#include <stddef.h> |
| 32 | +#include <stdbool.h> |
| 33 | + |
| 34 | +#if !defined(SWIFT_TYPEDEFS) |
| 35 | +# define SWIFT_TYPEDEFS 1 |
| 36 | +# if __has_include(<uchar.h>) |
| 37 | +# include <uchar.h> |
| 38 | +# elif !defined(__cplusplus) |
| 39 | +typedef uint_least16_t char16_t; |
| 40 | +typedef uint_least32_t char32_t; |
| 41 | +# endif |
| 42 | +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); |
| 43 | +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); |
| 44 | +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); |
| 45 | +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); |
| 46 | +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); |
| 47 | +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); |
| 48 | +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); |
| 49 | +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); |
| 50 | +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); |
| 51 | +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); |
| 52 | +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); |
| 53 | +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
| 54 | +#endif |
| 55 | + |
| 56 | +#if !defined(SWIFT_PASTE) |
| 57 | +# define SWIFT_PASTE_HELPER(x, y) x##y |
| 58 | +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) |
| 59 | +#endif |
| 60 | +#if !defined(SWIFT_METATYPE) |
| 61 | +# define SWIFT_METATYPE(X) Class |
| 62 | +#endif |
| 63 | +#if !defined(SWIFT_CLASS_PROPERTY) |
| 64 | +# if __has_feature(objc_class_property) |
| 65 | +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ |
| 66 | +# else |
| 67 | +# define SWIFT_CLASS_PROPERTY(...) |
| 68 | +# endif |
| 69 | +#endif |
| 70 | + |
| 71 | +#if __has_attribute(objc_runtime_name) |
| 72 | +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) |
| 73 | +#else |
| 74 | +# define SWIFT_RUNTIME_NAME(X) |
| 75 | +#endif |
| 76 | +#if __has_attribute(swift_name) |
| 77 | +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) |
| 78 | +#else |
| 79 | +# define SWIFT_COMPILE_NAME(X) |
| 80 | +#endif |
| 81 | +#if __has_attribute(objc_method_family) |
| 82 | +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) |
| 83 | +#else |
| 84 | +# define SWIFT_METHOD_FAMILY(X) |
| 85 | +#endif |
| 86 | +#if __has_attribute(noescape) |
| 87 | +# define SWIFT_NOESCAPE __attribute__((noescape)) |
| 88 | +#else |
| 89 | +# define SWIFT_NOESCAPE |
| 90 | +#endif |
| 91 | +#if __has_attribute(ns_consumed) |
| 92 | +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) |
| 93 | +#else |
| 94 | +# define SWIFT_RELEASES_ARGUMENT |
| 95 | +#endif |
| 96 | +#if __has_attribute(warn_unused_result) |
| 97 | +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
| 98 | +#else |
| 99 | +# define SWIFT_WARN_UNUSED_RESULT |
| 100 | +#endif |
| 101 | +#if __has_attribute(noreturn) |
| 102 | +# define SWIFT_NORETURN __attribute__((noreturn)) |
| 103 | +#else |
| 104 | +# define SWIFT_NORETURN |
| 105 | +#endif |
| 106 | +#if !defined(SWIFT_CLASS_EXTRA) |
| 107 | +# define SWIFT_CLASS_EXTRA |
| 108 | +#endif |
| 109 | +#if !defined(SWIFT_PROTOCOL_EXTRA) |
| 110 | +# define SWIFT_PROTOCOL_EXTRA |
| 111 | +#endif |
| 112 | +#if !defined(SWIFT_ENUM_EXTRA) |
| 113 | +# define SWIFT_ENUM_EXTRA |
| 114 | +#endif |
| 115 | +#if !defined(SWIFT_CLASS) |
| 116 | +# if __has_attribute(objc_subclassing_restricted) |
| 117 | +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA |
| 118 | +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
| 119 | +# else |
| 120 | +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
| 121 | +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
| 122 | +# endif |
| 123 | +#endif |
| 124 | +#if !defined(SWIFT_RESILIENT_CLASS) |
| 125 | +# if __has_attribute(objc_class_stub) |
| 126 | +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) |
| 127 | +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) |
| 128 | +# else |
| 129 | +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) |
| 130 | +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) |
| 131 | +# endif |
| 132 | +#endif |
| 133 | + |
| 134 | +#if !defined(SWIFT_PROTOCOL) |
| 135 | +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
| 136 | +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
| 137 | +#endif |
| 138 | + |
| 139 | +#if !defined(SWIFT_EXTENSION) |
| 140 | +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) |
| 141 | +#endif |
| 142 | + |
| 143 | +#if !defined(OBJC_DESIGNATED_INITIALIZER) |
| 144 | +# if __has_attribute(objc_designated_initializer) |
| 145 | +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) |
| 146 | +# else |
| 147 | +# define OBJC_DESIGNATED_INITIALIZER |
| 148 | +# endif |
| 149 | +#endif |
| 150 | +#if !defined(SWIFT_ENUM_ATTR) |
| 151 | +# if defined(__has_attribute) && __has_attribute(enum_extensibility) |
| 152 | +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) |
| 153 | +# else |
| 154 | +# define SWIFT_ENUM_ATTR(_extensibility) |
| 155 | +# endif |
| 156 | +#endif |
| 157 | +#if !defined(SWIFT_ENUM) |
| 158 | +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
| 159 | +# if __has_feature(generalized_swift_name) |
| 160 | +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
| 161 | +# else |
| 162 | +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) |
| 163 | +# endif |
| 164 | +#endif |
| 165 | +#if !defined(SWIFT_UNAVAILABLE) |
| 166 | +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) |
| 167 | +#endif |
| 168 | +#if !defined(SWIFT_UNAVAILABLE_MSG) |
| 169 | +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) |
| 170 | +#endif |
| 171 | +#if !defined(SWIFT_AVAILABILITY) |
| 172 | +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) |
| 173 | +#endif |
| 174 | +#if !defined(SWIFT_WEAK_IMPORT) |
| 175 | +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) |
| 176 | +#endif |
| 177 | +#if !defined(SWIFT_DEPRECATED) |
| 178 | +# define SWIFT_DEPRECATED __attribute__((deprecated)) |
| 179 | +#endif |
| 180 | +#if !defined(SWIFT_DEPRECATED_MSG) |
| 181 | +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) |
| 182 | +#endif |
| 183 | +#if __has_feature(attribute_diagnose_if_objc) |
| 184 | +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) |
| 185 | +#else |
| 186 | +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) |
| 187 | +#endif |
| 188 | +#if !defined(IBSegueAction) |
| 189 | +# define IBSegueAction |
| 190 | +#endif |
| 191 | +#if __has_feature(modules) |
| 192 | +#if __has_warning("-Watimport-in-framework-header") |
| 193 | +#pragma clang diagnostic ignored "-Watimport-in-framework-header" |
| 194 | +#endif |
| 195 | +@import ObjectiveC; |
| 196 | +#endif |
| 197 | + |
| 198 | +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" |
| 199 | +#pragma clang diagnostic ignored "-Wduplicate-method-arg" |
| 200 | +#if __has_warning("-Wpragma-clang-attribute") |
| 201 | +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" |
| 202 | +#endif |
| 203 | +#pragma clang diagnostic ignored "-Wunknown-pragmas" |
| 204 | +#pragma clang diagnostic ignored "-Wnullability" |
| 205 | + |
| 206 | +#if __has_attribute(external_source_symbol) |
| 207 | +# pragma push_macro("any") |
| 208 | +# undef any |
| 209 | +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="SDKConfigurations",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) |
| 210 | +# pragma pop_macro("any") |
| 211 | +#endif |
| 212 | + |
| 213 | + |
| 214 | +SWIFT_PROTOCOL_NAMED("Configuration") |
| 215 | +@protocol ZDKConfiguration <NSObject> |
| 216 | +- (nonnull instancetype)init; |
| 217 | +@end |
| 218 | + |
| 219 | +/// Enum for Configuration error |
| 220 | +typedef SWIFT_ENUM(NSInteger, ConfigurationError, open) { |
| 221 | +/// error case for no Configuration present |
| 222 | + ConfigurationErrorNoConfig = 0, |
| 223 | +}; |
| 224 | +static NSString * _Nonnull const ConfigurationErrorDomain = @"SDKConfigurations.ConfigurationError"; |
| 225 | + |
| 226 | + |
| 227 | +SWIFT_CLASS_NAMED("Configurations") |
| 228 | +@interface ZDKConfigurations : NSObject |
| 229 | +@property (nonatomic, readonly, copy) NSArray<id <ZDKConfiguration>> * _Nonnull configs; |
| 230 | +/// Initializes a new SDKConfiguration object. |
| 231 | +/// \param configs A array of <code>Configuration</code> objects. |
| 232 | +/// |
| 233 | +/// |
| 234 | +/// returns: |
| 235 | +/// A SDKConfiguration object. |
| 236 | +- (nonnull instancetype)initWithConfigs:(NSArray<id <ZDKConfiguration>> * _Nonnull)configs OBJC_DESIGNATED_INITIALIZER; |
| 237 | +- (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| 238 | ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); |
| 239 | +@end |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | +@interface ZDKConfigurations (SWIFT_EXTENSION(SDKConfigurations)) |
| 244 | +/// The position of the first element in a nonempty array. |
| 245 | +@property (nonatomic, readonly) NSInteger startIndex; |
| 246 | +/// The array’s “past the end” position—that is, the position one greater than the last valid subscript argument. |
| 247 | +@property (nonatomic, readonly) NSInteger endIndex; |
| 248 | +/// Inserts a <code>Configuration</code> object into the array |
| 249 | +/// \param configuration The configuration to inserted into the internal array |
| 250 | +/// |
| 251 | +- (void)insert:(id <ZDKConfiguration> _Nonnull)configuration; |
| 252 | +- (id <ZDKConfiguration> _Nonnull)objectAtIndexedSubscript:(NSInteger)index SWIFT_WARN_UNUSED_RESULT; |
| 253 | +/// Creates a default type of Configuration for the Type passed in and |
| 254 | +/// adds it to the internal array |
| 255 | +- (void)addDefaultConfigIfNeeded:(id <ZDKConfiguration> _Nonnull)config; |
| 256 | +@end |
| 257 | + |
| 258 | +#if __has_attribute(external_source_symbol) |
| 259 | +# pragma clang attribute pop |
| 260 | +#endif |
| 261 | +#pragma clang diagnostic pop |
| 262 | +#endif |
| 263 | + |
4 | 264 | #elif defined(__x86_64__) && __x86_64__ |
5 | | -// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) |
| 265 | +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) |
6 | 266 | #ifndef SDKCONFIGURATIONS_SWIFT_H |
7 | 267 | #define SDKCONFIGURATIONS_SWIFT_H |
8 | 268 | #pragma clang diagnostic push |
@@ -262,7 +522,7 @@ SWIFT_CLASS_NAMED("Configurations") |
262 | 522 | #endif |
263 | 523 |
|
264 | 524 | #elif defined(__i386__) && __i386__ |
265 | | -// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) |
| 525 | +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) |
266 | 526 | #ifndef SDKCONFIGURATIONS_SWIFT_H |
267 | 527 | #define SDKCONFIGURATIONS_SWIFT_H |
268 | 528 | #pragma clang diagnostic push |
@@ -525,7 +785,7 @@ SWIFT_CLASS_NAMED("Configurations") |
525 | 785 | #else |
526 | 786 | #if 0 |
527 | 787 | #elif defined(__arm64__) && __arm64__ |
528 | | -// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) |
| 788 | +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) |
529 | 789 | #ifndef SDKCONFIGURATIONS_SWIFT_H |
530 | 790 | #define SDKCONFIGURATIONS_SWIFT_H |
531 | 791 | #pragma clang diagnostic push |
@@ -785,7 +1045,7 @@ SWIFT_CLASS_NAMED("Configurations") |
785 | 1045 | #endif |
786 | 1046 |
|
787 | 1047 | #elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ |
788 | | -// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) |
| 1048 | +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) |
789 | 1049 | #ifndef SDKCONFIGURATIONS_SWIFT_H |
790 | 1050 | #define SDKCONFIGURATIONS_SWIFT_H |
791 | 1051 | #pragma clang diagnostic push |
|
0 commit comments