react-native-gizwits-sdk-v5 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/android/build.gradle +4 -4
  2. package/android/src/main/java/com/gizwits/reactnativegizwitssdkv5/RNGizSDKManagerModule.kt +18 -1
  3. package/android/src/main/java/com/gizwits/reactnativegizwitssdkv5/RNGizUserManagerModule.kt +5 -6
  4. package/package.json +1 -1
  5. package/react-native-gizwits-sdk-v5.podspec +3 -1
  6. package/ios/GizwitsiOSSDK.framework/GizwitsiOSSDK +0 -0
  7. package/ios/GizwitsiOSSDK.framework/Headers/CocoaAsyncSocket.h +0 -18
  8. package/ios/GizwitsiOSSDK.framework/Headers/DDASLLogger.h +0 -41
  9. package/ios/GizwitsiOSSDK.framework/Headers/DDAbstractDatabaseLogger.h +0 -102
  10. package/ios/GizwitsiOSSDK.framework/Headers/DDContextFilterLogFormatter.h +0 -63
  11. package/ios/GizwitsiOSSDK.framework/Headers/DDDispatchQueueLogFormatter.h +0 -128
  12. package/ios/GizwitsiOSSDK.framework/Headers/DDFileLogger.h +0 -340
  13. package/ios/GizwitsiOSSDK.framework/Headers/DDLog+LOGV.h +0 -99
  14. package/ios/GizwitsiOSSDK.framework/Headers/DDLog.h +0 -632
  15. package/ios/GizwitsiOSSDK.framework/Headers/DDMultiFormatter.h +0 -30
  16. package/ios/GizwitsiOSSDK.framework/Headers/DDTTYLogger.h +0 -171
  17. package/ios/GizwitsiOSSDK.framework/Headers/ForegroundReconnection.h +0 -23
  18. package/ios/GizwitsiOSSDK.framework/Headers/GCDTimer.h +0 -19
  19. package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK-Swift.h +0 -313
  20. package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK.h +0 -21
  21. package/ios/GizwitsiOSSDK.framework/Headers/MQTTClient.h +0 -39
  22. package/ios/GizwitsiOSSDK.framework/Headers/MQTTInMemoryPersistence.h +0 -16
  23. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyDecoder.h +0 -19
  24. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyEncoder.h +0 -18
  25. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionLegacy.h +0 -112
  26. package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionSynchron.h +0 -194
  27. package/ios/GizwitsiOSSDK.framework/Headers/MQTTStrict.h +0 -33
  28. package/ios/GizwitsiOSSDK.framework/Headers/MQTTUntil.h +0 -14
  29. package/ios/GizwitsiOSSDK.framework/Headers/ReconnectTimer.h +0 -21
  30. package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncSocket.h +0 -1226
  31. package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncUdpSocket.h +0 -1036
  32. package/ios/GizwitsiOSSDK.framework/Headers/_GizwitsParser.h +0 -61
  33. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketDecoder.h +0 -39
  34. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketEncoder.h +0 -38
  35. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketTransport.h +0 -79
  36. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCoreDataPersistence.h +0 -21
  37. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTDecoder.h +0 -66
  38. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTLog.h +0 -123
  39. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTMessage.h +0 -233
  40. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTPersistence.h +0 -124
  41. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTProperties.h +0 -76
  42. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicy.h +0 -158
  43. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicyTransport.h +0 -30
  44. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSession.h +0 -886
  45. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSessionManager.h +0 -237
  46. package/ios/GizwitsiOSSDK.framework/Headers/_MQTTTransport.h +0 -114
  47. package/ios/GizwitsiOSSDK.framework/Headers/common.h +0 -104
  48. package/ios/GizwitsiOSSDK.framework/Info.plist +0 -0
  49. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  50. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.abi.json +0 -9
  51. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  52. package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
  53. package/ios/GizwitsiOSSDK.framework/Modules/module.modulemap +0 -11
@@ -1,171 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- #if TARGET_OS_IPHONE
3
- #import <UIKit/UIColor.h>
4
- #else
5
- #import <AppKit/NSColor.h>
6
- #endif
7
-
8
- #import "DDLog.h"
9
-
10
- #define LOG_CONTEXT_ALL INT_MAX
11
-
12
- /**
13
- * Welcome to Cocoa Lumberjack!
14
- *
15
- * The project page has a wealth of documentation if you have any questions.
16
- * https://github.com/CocoaLumberjack/CocoaLumberjack
17
- *
18
- * If you're new to the project you may wish to read the "Getting Started" wiki.
19
- * https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/GettingStarted
20
- *
21
- *
22
- * This class provides a logger for Terminal output or Xcode console output,
23
- * depending on where you are running your code.
24
- *
25
- * As described in the "Getting Started" page,
26
- * the traditional NSLog() function directs it's output to two places:
27
- *
28
- * - Apple System Log (so it shows up in Console.app)
29
- * - StdErr (if stderr is a TTY, so log statements show up in Xcode console)
30
- *
31
- * To duplicate NSLog() functionality you can simply add this logger and an asl logger.
32
- * However, if you instead choose to use file logging (for faster performance),
33
- * you may choose to use only a file logger and a tty logger.
34
- **/
35
-
36
- @interface DDTTYLogger : DDAbstractLogger <DDLogger>
37
- {
38
- NSCalendar *calendar;
39
- NSUInteger calendarUnitFlags;
40
-
41
- NSString *appName;
42
- char *app;
43
- size_t appLen;
44
-
45
- NSString *processID;
46
- char *pid;
47
- size_t pidLen;
48
-
49
- BOOL colorsEnabled;
50
- NSMutableArray *colorProfilesArray;
51
- NSMutableDictionary *colorProfilesDict;
52
- }
53
-
54
- + (instancetype)sharedInstance;
55
-
56
- /* Inherited from the DDLogger protocol:
57
- *
58
- * Formatters may optionally be added to any logger.
59
- *
60
- * If no formatter is set, the logger simply logs the message as it is given in logMessage,
61
- * or it may use its own built in formatting style.
62
- *
63
- * More information about formatters can be found here:
64
- * https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/CustomFormatters
65
- *
66
- * The actual implementation of these methods is inherited from DDAbstractLogger.
67
-
68
- - (id <DDLogFormatter>)logFormatter;
69
- - (void)setLogFormatter:(id <DDLogFormatter>)formatter;
70
-
71
- */
72
-
73
- /**
74
- * Want to use different colors for different log levels?
75
- * Enable this property.
76
- *
77
- * If you run the application via the Terminal (not Xcode),
78
- * the logger will map colors to xterm-256color or xterm-color (if available).
79
- *
80
- * Xcode does NOT natively support colors in the Xcode debugging console.
81
- * You'll need to install the XcodeColors plugin to see colors in the Xcode console.
82
- * https://github.com/robbiehanson/XcodeColors
83
- *
84
- * The default value if NO.
85
- **/
86
- @property (readwrite, assign) BOOL colorsEnabled;
87
-
88
- /**
89
- * The default color set (foregroundColor, backgroundColor) is:
90
- *
91
- * - LOG_FLAG_ERROR = (red, nil)
92
- * - LOG_FLAG_WARN = (orange, nil)
93
- *
94
- * You can customize the colors however you see fit.
95
- * Please note that you are passing a flag, NOT a level.
96
- *
97
- * GOOD : [ttyLogger setForegroundColor:pink backgroundColor:nil forFlag:LOG_FLAG_INFO]; // <- Good :)
98
- * BAD : [ttyLogger setForegroundColor:pink backgroundColor:nil forFlag:LOG_LEVEL_INFO]; // <- BAD! :(
99
- *
100
- * LOG_FLAG_INFO = 0...00100
101
- * LOG_LEVEL_INFO = 0...00111 <- Would match LOG_FLAG_INFO and LOG_FLAG_WARN and LOG_FLAG_ERROR
102
- *
103
- * If you run the application within Xcode, then the XcodeColors plugin is required.
104
- *
105
- * If you run the application from a shell, then DDTTYLogger will automatically map the given color to
106
- * the closest available color. (xterm-256color or xterm-color which have 256 and 16 supported colors respectively.)
107
- *
108
- * This method invokes setForegroundColor:backgroundColor:forFlag:context: and applies it to `LOG_CONTEXT_ALL`.
109
- **/
110
- #if TARGET_OS_IPHONE
111
- - (void)setForegroundColor:(UIColor *)txtColor backgroundColor:(UIColor *)bgColor forFlag:(int)mask;
112
- #else
113
- - (void)setForegroundColor:(NSColor *)txtColor backgroundColor:(NSColor *)bgColor forFlag:(int)mask;
114
- #endif
115
-
116
- /**
117
- * Just like setForegroundColor:backgroundColor:flag, but allows you to specify a particular logging context.
118
- *
119
- * A logging context is often used to identify log messages coming from a 3rd party framework,
120
- * although logging context's can be used for many different functions.
121
- *
122
- * Use LOG_CONTEXT_ALL to set the deafult color for all contexts that have no specific color set defined.
123
- *
124
- * Logging context's are explained in further detail here:
125
- * https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/CustomContext
126
- **/
127
- #if TARGET_OS_IPHONE
128
- - (void)setForegroundColor:(UIColor *)txtColor backgroundColor:(UIColor *)bgColor forFlag:(int)mask context:(int)ctxt;
129
- #else
130
- - (void)setForegroundColor:(NSColor *)txtColor backgroundColor:(NSColor *)bgColor forFlag:(int)mask context:(int)ctxt;
131
- #endif
132
-
133
- /**
134
- * Similar to the methods above, but allows you to map DDLogMessage->tag to a particular color profile.
135
- * For example, you could do something like this:
136
- *
137
- * static NSString *const PurpleTag = @"PurpleTag";
138
- *
139
- * #define DDLogPurple(frmt, ...) LOG_OBJC_TAG_MACRO(NO, 0, 0, 0, PurpleTag, frmt, ##__VA_ARGS__)
140
- *
141
- * And then in your applicationDidFinishLaunching, or wherever you configure Lumberjack:
142
- *
143
- * #if TARGET_OS_IPHONE
144
- * UIColor *purple = [UIColor colorWithRed:(64/255.0) green:(0/255.0) blue:(128/255.0) alpha:1.0];
145
- * #else
146
- * NSColor *purple = [NSColor colorWithCalibratedRed:(64/255.0) green:(0/255.0) blue:(128/255.0) alpha:1.0];
147
- *
148
- * [[DDTTYLogger sharedInstance] setForegroundColor:purple backgroundColor:nil forTag:PurpleTag];
149
- * [DDLog addLogger:[DDTTYLogger sharedInstance]];
150
- *
151
- * This would essentially give you a straight NSLog replacement that prints in purple:
152
- *
153
- * DDLogPurple(@"I'm a purple log message!");
154
- **/
155
- #if TARGET_OS_IPHONE
156
- - (void)setForegroundColor:(UIColor *)txtColor backgroundColor:(UIColor *)bgColor forTag:(id <NSCopying>)tag;
157
- #else
158
- - (void)setForegroundColor:(NSColor *)txtColor backgroundColor:(NSColor *)bgColor forTag:(id <NSCopying>)tag;
159
- #endif
160
-
161
- /**
162
- * Clearing color profiles.
163
- **/
164
- - (void)clearColorsForFlag:(int)mask;
165
- - (void)clearColorsForFlag:(int)mask context:(int)context;
166
- - (void)clearColorsForTag:(id <NSCopying>)tag;
167
- - (void)clearColorsForAllFlags;
168
- - (void)clearColorsForAllTags;
169
- - (void)clearAllColors;
170
-
171
- @end
@@ -1,23 +0,0 @@
1
- //
2
- // ForegroundReconnection.h
3
- // MQTTClient
4
- //
5
- // Created by Josip Cavar on 22/08/2017.
6
- // Copyright © 2017 Christoph Krey. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #if TARGET_OS_IPHONE == 1
12
-
13
- @class _MQTTSessionManager;
14
-
15
- @interface ForegroundReconnection : NSObject
16
-
17
- @property (weak, nonatomic) _MQTTSessionManager *sessionManager;
18
-
19
- - (instancetype)initWithMQTTSessionManager:(_MQTTSessionManager *)manager;
20
-
21
- @end
22
-
23
- #endif
@@ -1,19 +0,0 @@
1
- //
2
- // Timer.h
3
- // MQTTClient
4
- //
5
- // Created by Josip Cavar on 06/11/2017.
6
- // Copyright © 2017 Christoph Krey. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- @interface GCDTimer: NSObject
12
-
13
- + (GCDTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)interval
14
- repeats:(BOOL)repeats
15
- queue:(dispatch_queue_t)queue
16
- block:(void (^)(void))block;
17
- - (void)invalidate;
18
-
19
- @end
@@ -1,313 +0,0 @@
1
- #if 0
2
- #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
4
- #ifndef GIZWITSIOSSDK_SWIFT_H
5
- #define GIZWITSIOSSDK_SWIFT_H
6
- #pragma clang diagnostic push
7
- #pragma clang diagnostic ignored "-Wgcc-compat"
8
-
9
- #if !defined(__has_include)
10
- # define __has_include(x) 0
11
- #endif
12
- #if !defined(__has_attribute)
13
- # define __has_attribute(x) 0
14
- #endif
15
- #if !defined(__has_feature)
16
- # define __has_feature(x) 0
17
- #endif
18
- #if !defined(__has_warning)
19
- # define __has_warning(x) 0
20
- #endif
21
-
22
- #if __has_include(<swift/objc-prologue.h>)
23
- # include <swift/objc-prologue.h>
24
- #endif
25
-
26
- #pragma clang diagnostic ignored "-Wauto-import"
27
- #if defined(__OBJC__)
28
- #include <Foundation/Foundation.h>
29
- #endif
30
- #if defined(__cplusplus)
31
- #include <cstdint>
32
- #include <cstddef>
33
- #include <cstdbool>
34
- #include <cstring>
35
- #include <stdlib.h>
36
- #include <new>
37
- #include <type_traits>
38
- #else
39
- #include <stdint.h>
40
- #include <stddef.h>
41
- #include <stdbool.h>
42
- #include <string.h>
43
- #endif
44
- #if defined(__cplusplus)
45
- #if defined(__arm64e__) && __has_include(<ptrauth.h>)
46
- # include <ptrauth.h>
47
- #else
48
- #pragma clang diagnostic push
49
- #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
50
- # ifndef __ptrauth_swift_value_witness_function_pointer
51
- # define __ptrauth_swift_value_witness_function_pointer(x)
52
- # endif
53
- # ifndef __ptrauth_swift_class_method_pointer
54
- # define __ptrauth_swift_class_method_pointer(x)
55
- # endif
56
- #pragma clang diagnostic pop
57
- #endif
58
- #endif
59
-
60
- #if !defined(SWIFT_TYPEDEFS)
61
- # define SWIFT_TYPEDEFS 1
62
- # if __has_include(<uchar.h>)
63
- # include <uchar.h>
64
- # elif !defined(__cplusplus)
65
- typedef uint_least16_t char16_t;
66
- typedef uint_least32_t char32_t;
67
- # endif
68
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
69
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
70
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
71
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
72
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
73
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
74
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
75
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
76
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
77
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
78
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
79
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
80
- #endif
81
-
82
- #if !defined(SWIFT_PASTE)
83
- # define SWIFT_PASTE_HELPER(x, y) x##y
84
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
85
- #endif
86
- #if !defined(SWIFT_METATYPE)
87
- # define SWIFT_METATYPE(X) Class
88
- #endif
89
- #if !defined(SWIFT_CLASS_PROPERTY)
90
- # if __has_feature(objc_class_property)
91
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
92
- # else
93
- # define SWIFT_CLASS_PROPERTY(...)
94
- # endif
95
- #endif
96
- #if !defined(SWIFT_RUNTIME_NAME)
97
- # if __has_attribute(objc_runtime_name)
98
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
99
- # else
100
- # define SWIFT_RUNTIME_NAME(X)
101
- # endif
102
- #endif
103
- #if !defined(SWIFT_COMPILE_NAME)
104
- # if __has_attribute(swift_name)
105
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
106
- # else
107
- # define SWIFT_COMPILE_NAME(X)
108
- # endif
109
- #endif
110
- #if !defined(SWIFT_METHOD_FAMILY)
111
- # if __has_attribute(objc_method_family)
112
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
113
- # else
114
- # define SWIFT_METHOD_FAMILY(X)
115
- # endif
116
- #endif
117
- #if !defined(SWIFT_NOESCAPE)
118
- # if __has_attribute(noescape)
119
- # define SWIFT_NOESCAPE __attribute__((noescape))
120
- # else
121
- # define SWIFT_NOESCAPE
122
- # endif
123
- #endif
124
- #if !defined(SWIFT_RELEASES_ARGUMENT)
125
- # if __has_attribute(ns_consumed)
126
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
127
- # else
128
- # define SWIFT_RELEASES_ARGUMENT
129
- # endif
130
- #endif
131
- #if !defined(SWIFT_WARN_UNUSED_RESULT)
132
- # if __has_attribute(warn_unused_result)
133
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
134
- # else
135
- # define SWIFT_WARN_UNUSED_RESULT
136
- # endif
137
- #endif
138
- #if !defined(SWIFT_NORETURN)
139
- # if __has_attribute(noreturn)
140
- # define SWIFT_NORETURN __attribute__((noreturn))
141
- # else
142
- # define SWIFT_NORETURN
143
- # endif
144
- #endif
145
- #if !defined(SWIFT_CLASS_EXTRA)
146
- # define SWIFT_CLASS_EXTRA
147
- #endif
148
- #if !defined(SWIFT_PROTOCOL_EXTRA)
149
- # define SWIFT_PROTOCOL_EXTRA
150
- #endif
151
- #if !defined(SWIFT_ENUM_EXTRA)
152
- # define SWIFT_ENUM_EXTRA
153
- #endif
154
- #if !defined(SWIFT_CLASS)
155
- # if __has_attribute(objc_subclassing_restricted)
156
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
157
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
158
- # else
159
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
160
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
161
- # endif
162
- #endif
163
- #if !defined(SWIFT_RESILIENT_CLASS)
164
- # if __has_attribute(objc_class_stub)
165
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
166
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
167
- # else
168
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
169
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
170
- # endif
171
- #endif
172
- #if !defined(SWIFT_PROTOCOL)
173
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
174
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
175
- #endif
176
- #if !defined(SWIFT_EXTENSION)
177
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
178
- #endif
179
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
180
- # if __has_attribute(objc_designated_initializer)
181
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
182
- # else
183
- # define OBJC_DESIGNATED_INITIALIZER
184
- # endif
185
- #endif
186
- #if !defined(SWIFT_ENUM_ATTR)
187
- # if __has_attribute(enum_extensibility)
188
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
189
- # else
190
- # define SWIFT_ENUM_ATTR(_extensibility)
191
- # endif
192
- #endif
193
- #if !defined(SWIFT_ENUM)
194
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
195
- # if __has_feature(generalized_swift_name)
196
- # 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
197
- # else
198
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
199
- # endif
200
- #endif
201
- #if !defined(SWIFT_UNAVAILABLE)
202
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
203
- #endif
204
- #if !defined(SWIFT_UNAVAILABLE_MSG)
205
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
206
- #endif
207
- #if !defined(SWIFT_AVAILABILITY)
208
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
209
- #endif
210
- #if !defined(SWIFT_WEAK_IMPORT)
211
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
212
- #endif
213
- #if !defined(SWIFT_DEPRECATED)
214
- # define SWIFT_DEPRECATED __attribute__((deprecated))
215
- #endif
216
- #if !defined(SWIFT_DEPRECATED_MSG)
217
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
218
- #endif
219
- #if !defined(SWIFT_DEPRECATED_OBJC)
220
- # if __has_feature(attribute_diagnose_if_objc)
221
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
222
- # else
223
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
224
- # endif
225
- #endif
226
- #if defined(__OBJC__)
227
- #if !defined(IBSegueAction)
228
- # define IBSegueAction
229
- #endif
230
- #endif
231
- #if !defined(SWIFT_EXTERN)
232
- # if defined(__cplusplus)
233
- # define SWIFT_EXTERN extern "C"
234
- # else
235
- # define SWIFT_EXTERN extern
236
- # endif
237
- #endif
238
- #if !defined(SWIFT_CALL)
239
- # define SWIFT_CALL __attribute__((swiftcall))
240
- #endif
241
- #if !defined(SWIFT_INDIRECT_RESULT)
242
- # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
243
- #endif
244
- #if !defined(SWIFT_CONTEXT)
245
- # define SWIFT_CONTEXT __attribute__((swift_context))
246
- #endif
247
- #if !defined(SWIFT_ERROR_RESULT)
248
- # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
249
- #endif
250
- #if defined(__cplusplus)
251
- # define SWIFT_NOEXCEPT noexcept
252
- #else
253
- # define SWIFT_NOEXCEPT
254
- #endif
255
- #if !defined(SWIFT_C_INLINE_THUNK)
256
- # if __has_attribute(always_inline)
257
- # if __has_attribute(nodebug)
258
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
259
- # else
260
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
261
- # endif
262
- # else
263
- # define SWIFT_C_INLINE_THUNK inline
264
- # endif
265
- #endif
266
- #if defined(_WIN32)
267
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
268
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
269
- #endif
270
- #else
271
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272
- # define SWIFT_IMPORT_STDLIB_SYMBOL
273
- #endif
274
- #endif
275
- #if defined(__OBJC__)
276
- #if __has_feature(objc_modules)
277
- #if __has_warning("-Watimport-in-framework-header")
278
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
279
- #endif
280
- #endif
281
-
282
- #endif
283
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
284
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
285
- #if __has_warning("-Wpragma-clang-attribute")
286
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
287
- #endif
288
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
289
- #pragma clang diagnostic ignored "-Wnullability"
290
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
291
-
292
- #if __has_attribute(external_source_symbol)
293
- # pragma push_macro("any")
294
- # undef any
295
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GizwitsiOSSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
296
- # pragma pop_macro("any")
297
- #endif
298
-
299
- #if defined(__OBJC__)
300
-
301
-
302
- #endif
303
- #if __has_attribute(external_source_symbol)
304
- # pragma clang attribute pop
305
- #endif
306
- #if defined(__cplusplus)
307
- #endif
308
- #pragma clang diagnostic pop
309
- #endif
310
-
311
- #else
312
- #error unsupported Swift architecture
313
- #endif
@@ -1,21 +0,0 @@
1
- //
2
- // GizSDKV5.h
3
- // GizSDKV5
4
- //
5
- // Created by william Zhang on 2022/4/18.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "MQTTClient.h"
10
- #import "_GizwitsParser.h"
11
- #import "CocoaAsyncSocket.h"
12
-
13
- //! Project version number for GizSDKV5.
14
- FOUNDATION_EXPORT double GizSDKV5VersionNumber;
15
-
16
- //! Project version string for GizSDKV5.
17
- FOUNDATION_EXPORT const unsigned char GizSDKV5VersionString[];
18
-
19
- // In this header, you should import all the public headers of your framework using statements like #import <GizSDKV5/PublicHeader.h>
20
-
21
-
@@ -1,39 +0,0 @@
1
- //
2
- // MQTTClient.h
3
- // MQTTClient
4
- //
5
- // Created by Christoph Krey on 13.01.14.
6
- // Copyright © 2013-2017 Christoph Krey. All rights reserved.
7
- //
8
-
9
- /**
10
- Include this file to use MQTTClient classes in your application
11
-
12
- @author Christoph Krey c@ckrey.de
13
- @see http://mqtt.org
14
- */
15
-
16
- #import <Foundation/Foundation.h>
17
-
18
- #import "_MQTTSession.h"
19
- #import "_MQTTDecoder.h"
20
- #import "MQTTSessionLegacy.h"
21
- #import "MQTTSessionSynchron.h"
22
- #import "_MQTTProperties.h"
23
- #import "_MQTTMessage.h"
24
- #import "_MQTTTransport.h"
25
- #import "_MQTTCFSocketTransport.h"
26
- #import "_MQTTCoreDataPersistence.h"
27
- #import "_MQTTSSLSecurityPolicyTransport.h"
28
- #import "_MQTTLog.h"
29
-
30
- #if __has_include("_MQTTSessionManager.h")
31
- #import "_MQTTSessionManager.h"
32
- #endif
33
-
34
- //! Project version number for MQTTClient.
35
- FOUNDATION_EXPORT double _MQTTClientVersionNumber;
36
-
37
- //! Project version string for MQTTClient&lt;.
38
- FOUNDATION_EXPORT const unsigned char _MQTTClientVersionString[];
39
-
@@ -1,16 +0,0 @@
1
- //
2
- // MQTTInMemoryPersistence.h
3
- // MQTTClient
4
- //
5
- // Created by Christoph Krey on 22.03.15.
6
- // Copyright © 2015-2017 Christoph Krey. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
- #import "_MQTTPersistence.h"
11
-
12
- @interface MQTTInMemoryPersistence : NSObject <_MQTTPersistence>
13
- @end
14
-
15
- @interface MQTTInMemoryFlow : NSObject <_MQTTFlow>
16
- @end
@@ -1,19 +0,0 @@
1
- //
2
- // MQTTSSLSecurityPolicyDecoder.h
3
- // MQTTClient.framework
4
- //
5
- // Copyright © 2013-2017, Christoph Krey. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "_MQTTSSLSecurityPolicy.h"
10
- #import "_MQTTCFSocketDecoder.h"
11
-
12
- @interface MQTTSSLSecurityPolicyDecoder : _MQTTCFSocketDecoder
13
-
14
- @property(strong, nonatomic) _MQTTSSLSecurityPolicy *securityPolicy;
15
- @property(strong, nonatomic) NSString *securityDomain;
16
-
17
- @end
18
-
19
-
@@ -1,18 +0,0 @@
1
- //
2
- // MQTTSSLSecurityPolicyEncoder.h
3
- // MQTTClient.framework
4
- //
5
- // Copyright © 2013-2017, Christoph Krey. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "_MQTTSSLSecurityPolicy.h"
10
- #import "_MQTTCFSocketEncoder.h"
11
-
12
- @interface MQTTSSLSecurityPolicyEncoder : _MQTTCFSocketEncoder
13
-
14
- @property(strong, nonatomic) _MQTTSSLSecurityPolicy *securityPolicy;
15
- @property(strong, nonatomic) NSString *securityDomain;
16
-
17
- @end
18
-