-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
832831d
commit f2073f4
Showing
82 changed files
with
5,104 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
163 changes: 163 additions & 0 deletions
163
CloverGoReaderSDK.framework/Headers/CloverGoReaderSDK-Swift.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
// Generated by Apple Swift version 2.3 (swiftlang-800.10.13 clang-800.0.42.1) | ||
#pragma clang diagnostic push | ||
|
||
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>) | ||
# include <swift/objc-prologue.h> | ||
#endif | ||
|
||
#pragma clang diagnostic ignored "-Wauto-import" | ||
#include <objc/NSObject.h> | ||
#include <stdint.h> | ||
#include <stddef.h> | ||
#include <stdbool.h> | ||
|
||
#if !defined(SWIFT_TYPEDEFS) | ||
# define SWIFT_TYPEDEFS 1 | ||
# if defined(__has_include) && __has_include(<uchar.h>) | ||
# include <uchar.h> | ||
# elif !defined(__cplusplus) || __cplusplus < 201103L | ||
typedef uint_least16_t char16_t; | ||
typedef uint_least32_t char32_t; | ||
# endif | ||
typedef float swift_float2 __attribute__((__ext_vector_type__(2))); | ||
typedef float swift_float3 __attribute__((__ext_vector_type__(3))); | ||
typedef float swift_float4 __attribute__((__ext_vector_type__(4))); | ||
typedef double swift_double2 __attribute__((__ext_vector_type__(2))); | ||
typedef double swift_double3 __attribute__((__ext_vector_type__(3))); | ||
typedef double swift_double4 __attribute__((__ext_vector_type__(4))); | ||
typedef int swift_int2 __attribute__((__ext_vector_type__(2))); | ||
typedef int swift_int3 __attribute__((__ext_vector_type__(3))); | ||
typedef int swift_int4 __attribute__((__ext_vector_type__(4))); | ||
#endif | ||
|
||
#if !defined(SWIFT_PASTE) | ||
# define SWIFT_PASTE_HELPER(x, y) x##y | ||
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) | ||
#endif | ||
#if !defined(SWIFT_METATYPE) | ||
# define SWIFT_METATYPE(X) Class | ||
#endif | ||
|
||
#if defined(__has_attribute) && __has_attribute(objc_runtime_name) | ||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) | ||
#else | ||
# define SWIFT_RUNTIME_NAME(X) | ||
#endif | ||
#if defined(__has_attribute) && __has_attribute(swift_name) | ||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) | ||
#else | ||
# define SWIFT_COMPILE_NAME(X) | ||
#endif | ||
#if !defined(SWIFT_CLASS_EXTRA) | ||
# define SWIFT_CLASS_EXTRA | ||
#endif | ||
#if !defined(SWIFT_PROTOCOL_EXTRA) | ||
# define SWIFT_PROTOCOL_EXTRA | ||
#endif | ||
#if !defined(SWIFT_ENUM_EXTRA) | ||
# define SWIFT_ENUM_EXTRA | ||
#endif | ||
#if !defined(SWIFT_CLASS) | ||
# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) | ||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA | ||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
# else | ||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
# endif | ||
#endif | ||
|
||
#if !defined(SWIFT_PROTOCOL) | ||
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
#endif | ||
|
||
#if !defined(SWIFT_EXTENSION) | ||
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) | ||
#endif | ||
|
||
#if !defined(OBJC_DESIGNATED_INITIALIZER) | ||
# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) | ||
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) | ||
# else | ||
# define OBJC_DESIGNATED_INITIALIZER | ||
# endif | ||
#endif | ||
#if !defined(SWIFT_ENUM) | ||
# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type | ||
# if defined(__has_feature) && __has_feature(generalized_swift_name) | ||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type | ||
# else | ||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) | ||
# endif | ||
#endif | ||
#if defined(__has_feature) && __has_feature(modules) | ||
@import ObjectiveC; | ||
@import RUA; | ||
#endif | ||
|
||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" | ||
#pragma clang diagnostic ignored "-Wduplicate-method-arg" | ||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK29AudioJackConfigurationManager") | ||
@interface AudioJackConfigurationManager : NSObject <RUADeviceStatusHandler> | ||
- (void)onConnected; | ||
- (void)onDisconnected; | ||
- (void)onPlugged; | ||
- (void)onError:(NSString * _Nonnull)message; | ||
- (void)startAudiojackReader; | ||
@end | ||
|
||
@class CardReaderInfo; | ||
@class NSArray; | ||
@class RUADevice; | ||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK29BluetoothConfigurationManager") | ||
@interface BluetoothConfigurationManager : AudioJackConfigurationManager <RUADeviceSearchListener> | ||
- (void)startBluetoothScan; | ||
- (void)connect:(CardReaderInfo * _Nonnull)readerInfo; | ||
- (void)disconnect; | ||
- (void)sendRawCommands:(NSArray * _Nonnull)commands; | ||
- (void)discoveredDevice:(RUADevice * _Null_unspecified)reader; | ||
- (void)discoveryComplete; | ||
@end | ||
|
||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK10CardReader") | ||
@interface CardReader : NSObject | ||
+ (CardReader * _Nonnull)sharedInstance; | ||
- (NSDictionary<NSString *, CardReaderInfo *> * _Nonnull)getConnectedReaders; | ||
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
@end | ||
|
||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK14CardReaderInfo") | ||
@interface CardReaderInfo : NSObject | ||
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
@property (nonatomic, readonly, copy) NSString * _Null_unspecified readerSerialNo; | ||
@property (nonatomic, readonly, copy) NSString * _Null_unspecified bluetoothId; | ||
@property (nonatomic, readonly, copy) NSString * _Null_unspecified bluetoothName; | ||
@property (nonatomic, readonly) BOOL connected; | ||
@property (nonatomic, readonly) BOOL paired; | ||
@property (nonatomic, readonly) BOOL readerReady; | ||
@end | ||
|
||
@class NSDictionary; | ||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK23RP350TransactionManager") | ||
@interface RP350TransactionManager : NSObject | ||
- (void)writeEMVDataToCard:(NSDictionary * _Nonnull)data; | ||
- (void)startTransaction:(NSInteger)amountInCents uniqueCounter:(NSString * _Nonnull)uniqueCounter; | ||
- (void)endTransaction; | ||
- (void)endTransaction:(NSDictionary * _Nonnull)data; | ||
- (void)abortTransaction; | ||
@end | ||
|
||
|
||
SWIFT_CLASS("_TtC17CloverGoReaderSDK23RP450TransactionManager") | ||
@interface RP450TransactionManager : RP350TransactionManager | ||
- (void)waitForCardRemoval; | ||
- (void)startTransaction:(NSInteger)amountInCents uniqueCounter:(NSString * _Nonnull)uniqueCounter; | ||
@end | ||
|
||
#pragma clang diagnostic pop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// CloverGoReaderSDK.h | ||
// CloverGoReaderSDK | ||
// | ||
// Created by Veeramani, Rajan (Non-Employee) on 2/20/17. | ||
// Copyright © 2017 Veeramani, Rajan (Non-Employee). All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for CloverGoReaderSDK. | ||
FOUNDATION_EXPORT double CloverGoReaderSDKVersionNumber; | ||
|
||
//! Project version string for CloverGoReaderSDK. | ||
FOUNDATION_EXPORT const unsigned char CloverGoReaderSDKVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <CloverGoReaderSDK/PublicHeader.h> | ||
|
||
|
Binary file not shown.
Binary file added
BIN
+584 Bytes
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/arm.swiftdoc
Binary file not shown.
Binary file added
BIN
+83 KB
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file added
BIN
+584 Bytes
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file added
BIN
+83 KB
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file added
BIN
+584 Bytes
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/i386.swiftdoc
Binary file not shown.
Binary file added
BIN
+83.1 KB
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/i386.swiftmodule
Binary file not shown.
Binary file added
BIN
+584 Bytes
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file added
BIN
+83.1 KB
CloverGoReaderSDK.framework/Modules/CloverGoReaderSDK.swiftmodule/x86_64.swiftmodule
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
framework module CloverGoReaderSDK { | ||
umbrella header "CloverGoReaderSDK.h" | ||
|
||
export * | ||
module * { export * } | ||
} | ||
|
||
module CloverGoReaderSDK.Swift { | ||
header "CloverGoReaderSDK-Swift.h" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/G4XSwiper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
G4XSwiper-4.6.3 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// | ||
// SwiperController.h | ||
// SwiperAPI-4.6.3 | ||
// | ||
// Created by TeresaWong on 8/6/10. | ||
// Copyright 2011 BBPOS LTD. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
typedef enum { | ||
SwiperControllerStateIdle, | ||
SwiperControllerStateWaitingForDevice, | ||
SwiperControllerStateRecording, | ||
SwiperControllerStateDecoding | ||
} SwiperControllerState; | ||
|
||
typedef enum { | ||
SwiperControllerDecodeResultSuccess, | ||
SwiperControllerDecodeResultSwipeFail, | ||
SwiperControllerDecodeResultCRCError, | ||
SwiperControllerDecodeResultCommError, | ||
SwiperControllerDecodeResultUnknownError, | ||
SwiperControllerDecodeResultTapError, | ||
SwiperControllerDecodeResultCardNotSupported | ||
} SwiperControllerDecodeResult; | ||
|
||
@protocol SwiperControllerDelegate; | ||
|
||
@interface SwiperController : NSObject { | ||
NSObject <SwiperControllerDelegate>* delegate; | ||
BOOL detectDeviceChange; | ||
SwiperControllerState swiperState; | ||
} | ||
|
||
@property (nonatomic, assign) NSObject <SwiperControllerDelegate>* delegate; | ||
@property (nonatomic, assign) BOOL detectDeviceChange; | ||
@property (nonatomic, assign) double swipeTimeout; | ||
@property (nonatomic, assign) double chargeUpTime; | ||
@property (nonatomic, assign) double ksnChargeUpTime; | ||
@property (nonatomic, assign) BOOL fskRequired; | ||
|
||
|
||
- (BOOL)isDevicePresent; | ||
- (void)startSwiper; | ||
- (void)stopSwiper; | ||
- (SwiperControllerState)getSwiperState; | ||
- (void)getSwiperKsn; | ||
- (void)isSwiperHere; | ||
- (NSString*)packEncTrackData:(NSString *)formatID | ||
encTrack:(NSString *)encTrack | ||
partialTrack:(NSString *)partialTrack; | ||
- (NSString*)getSwiperAPIVersion; | ||
- (NSString*)getSwiperFirmwareVersion; | ||
- (void)closeSwiper; | ||
|
||
@end | ||
|
||
@protocol SwiperControllerDelegate <NSObject> | ||
|
||
- (void)onDecodeCompleted:(NSDictionary *)data; | ||
|
||
- (void)onDecodeError:(SwiperControllerDecodeResult)decodeState; | ||
- (void)onError:(NSString *)errorMessage; | ||
- (void)onInterrupted; | ||
- (void)onNoDeviceDetected; | ||
- (void)onTimeout; | ||
- (void)onWaitingForCardSwipe; | ||
- (void)onWaitingForDevice; | ||
- (void)onGetKsnCompleted:(NSString *)ksn; | ||
- (void)onCardSwipeDetected; | ||
- (void)onSwiperHere:(BOOL)isHere; | ||
|
||
@optional | ||
- (void)onDevicePlugged; | ||
- (void)onDeviceUnplugged; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
G4XSwiper-4.8.4 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// | ||
// SwiperController.h | ||
// SwiperAPI-4.8.4 | ||
// | ||
// Created by TeresaWong on 8/6/10. | ||
// Copyright 2011 BBPOS LTD. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
typedef enum { | ||
SwiperControllerStateIdle, | ||
SwiperControllerStateWaitingForDevice, | ||
SwiperControllerStateRecording, | ||
SwiperControllerStateDecoding | ||
} SwiperControllerState; | ||
|
||
typedef enum { | ||
SwiperControllerDecodeResultSuccess, | ||
SwiperControllerDecodeResultSwipeFail, | ||
SwiperControllerDecodeResultCRCError, | ||
SwiperControllerDecodeResultCommError, | ||
SwiperControllerDecodeResultUnknownError, | ||
SwiperControllerDecodeResultTapError, | ||
SwiperControllerDecodeResultCardNotSupported | ||
} SwiperControllerDecodeResult; | ||
|
||
@protocol SwiperControllerDelegate; | ||
|
||
@interface SwiperController : NSObject { | ||
NSObject <SwiperControllerDelegate>* delegate; | ||
BOOL detectDeviceChange; | ||
SwiperControllerState swiperState; | ||
} | ||
|
||
@property (nonatomic, assign) NSObject <SwiperControllerDelegate>* delegate; | ||
@property (nonatomic, assign) BOOL detectDeviceChange; | ||
@property (nonatomic, assign) double swipeTimeout; | ||
@property (nonatomic, assign) double chargeUpTime; | ||
@property (nonatomic, assign) double ksnChargeUpTime; | ||
@property (nonatomic, assign) BOOL fskRequired; | ||
|
||
|
||
- (BOOL)isDevicePresent; | ||
- (void)startSwiper; | ||
- (void)stopSwiper; | ||
- (SwiperControllerState)getSwiperState; | ||
- (void)getSwiperKsn; | ||
- (void)isSwiperHere; | ||
- (NSString*)packEncTrackData:(NSString *)formatID | ||
encTrack:(NSString *)encTrack | ||
partialTrack:(NSString *)partialTrack; | ||
- (NSString*)getSwiperAPIVersion; | ||
- (NSString*)getSwiperFirmwareVersion; | ||
- (NSString*)getSwiperBatteryVoltage; | ||
- (void)closeSwiper; | ||
|
||
@end | ||
|
||
@protocol SwiperControllerDelegate <NSObject> | ||
|
||
- (void)onDecodeCompleted:(NSDictionary *)data; | ||
|
||
- (void)onDecodeError:(SwiperControllerDecodeResult)decodeState; | ||
- (void)onError:(NSString *)errorMessage; | ||
- (void)onInterrupted; | ||
- (void)onNoDeviceDetected; | ||
- (void)onTimeout; | ||
- (void)onWaitingForCardSwipe; | ||
- (void)onWaitingForDevice; | ||
- (void)onGetKsnCompleted:(NSString *)ksn; | ||
- (void)onCardSwipeDetected; | ||
- (void)onSwiperHere:(BOOL)isHere; | ||
|
||
@optional | ||
- (void)onDevicePlugged; | ||
- (void)onDeviceUnplugged; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
Copyright (C) 2016 Clover Network, Inc. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./Versions/Current/Headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./Versions/A/libMPOSCommunicationManager |
Oops, something went wrong.