SBSCommon.h
Go to the documentation of this file.
1 // ScanditSDKCommon.h
2 // ScanditBarcodeScanner
3 //
4 // Created by Marco Biasini on 29/05/15.
5 // Copyright (c) 2015 Scandit AG. All rights reserved.
6 //
7 
8 
9 #define SBS_DEPRECATED __attribute__((deprecated))
10 
11 // we can't use NS_ENUM directly, but rather have to use a macro that gets replaced with
12 // the proper meaning when generating the documentation.
13 
15 #if defined(SBS_GENERATE_DOCS)
16 # define SBS_ENUM_BEGIN(name) typedef enum
17 # define SBS_ENUM_END(name) name
18 # define SBS_DESIGNATED_INITIALIZER
19 # define SBS_NOT_AVAILABLE_IN_SWIFT
20 # define SBS_SWIFT_NAME(method)
21 # define SBS_DEPRECATED_MSG_ATTRIBUTE(message)
22 #else
23 # define SBS_ENUM_BEGIN(name) typedef NS_ENUM(NSInteger, name)
24 # define SBS_ENUM_END(name)
25 # define SBS_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER
26 # if __has_attribute(swift_private)
27 # define SBS_NOT_AVAILABLE_IN_SWIFT __attribute__((swift_private))
28 # endif
29 # define SBS_SWIFT_NAME(method) NS_SWIFT_NAME(method)
30 # define SBS_DEPRECATED_MSG_ATTRIBUTE(message) DEPRECATED_MSG_ATTRIBUTE(message)
31 #endif
32 
34 
46 
48 
49 
56 
58 
59 
80  LONG_RANGE SBS_DEPRECATED SBS_NOT_AVAILABLE_IN_SWIFT = SBSWorkingRangeLong,
86 
88 
100 
107 
109 
110 
150 
151 
157 FOUNDATION_EXPORT NSString * const SBSErrorDomain;
158 
168 
Definition: SBSCommon.h:101
Definition: SBSCommon.h:41
SBSError
enumeration of various error codes
Definition: SBSCommon.h:162
Definition: SBSCommon.h:104
SBSOrientation
Definition: SBSCommon.h:50
Definition: SBSCommon.h:135
Definition: SBSCommon.h:51
Definition: SBSCommon.h:79
Definition: SBSCommon.h:127
SBSCameraFacingDirection
Definition: SBSCommon.h:40
Definition: SBSCommon.h:96
Definition: SBSCommon.h:95
Definition: SBSCommon.h:52
#define SBS_ENUM_END(name)
Definition: SBSCommon.h:17
SBSGuiStyle
Enumeration of different GUI styles.
Definition: SBSCommon.h:116
Definition: SBSCommon.h:102
Definition: SBSCommon.h:97
Definition: SBSCommon.h:99
Definition: SBSCommon.h:121
Definition: SBSCommon.h:54
#define SBS_DEPRECATED
Definition: SBSCommon.h:9
Definition: SBSCommon.h:98
SBSMsiPlesseyChecksumType
Enumeration of different MSI Checksums.
Definition: SBSCommon.h:94
Definition: SBSCommon.h:44
Definition: SBSCommon.h:142
Definition: SBSCommon.h:148
#define SBS_NOT_AVAILABLE_IN_SWIFT
Definition: SBSCommon.h:19
Definition: SBSCommon.h:103
An invalid argument has been passed to a method/function.
Definition: SBSCommon.h:166
SBSWorkingRange
Definition: SBSCommon.h:65
Definition: SBSCommon.h:42
Definition: SBSCommon.h:80
Definition: SBSCommon.h:84
Definition: SBSCommon.h:78
FOUNDATION_EXPORT NSString *const SBSErrorDomain
Error domain for the ScanditBarcodeScanner framework.
Definition: SBSCommon.h:157
Definition: SBSCommon.h:72
Definition: SBSCommon.h:53
Definition: SBSCommon.h:43
Definition: SBSCommon.h:105
#define SBS_ENUM_BEGIN(name)
Definition: SBSCommon.h:16