3 #import <UIKit/UIKit.h> 4 #import <AVFoundation/AVFoundation.h> 10 #if !TARGET_OS_EMBEDDED 11 #define SIMULATOR_COMPILATION 1 13 #define SIMULATOR_COMPILATION 0 16 #if (SIMULATOR_COMPILATION || __IPHONE_OS_VERSION_MAX_ALLOWED < 40000) 17 #define CAN_USE_AVCAPTURE 0 19 #define CAN_USE_AVCAPTURE 1 23 @class ZBarImageScanner;
26 @protocol BarcodeScannerControllerDelegate <UINavigationControllerDelegate, UIImagePickerControllerDelegate>
30 #if CAN_USE_AVCAPTURE == 0 32 <KeypadInputControllerDelegate>
36 <KeypadInputControllerDelegate, AVCaptureVideoDataOutputSampleBufferDelegate>
56 id<BarcodeScannerControllerDelegate> __weak
delegate;
69 AVCaptureSession *session;
70 AVCaptureVideoDataOutput *captureOutput;
71 AVCaptureDeviceInput *captureInput;
72 AVCaptureDevice *device;
73 AVCaptureVideoPreviewLayer *prevLayer;
77 @property(nonatomic,weak) id<BarcodeScannerControllerDelegate>
delegate;
83 @property (readonly, nonatomic) ZBarImageScanner *
scanner;
BOOL scanSuccess
Definition: BarcodeScannerController.h:63
signed char BOOL
Definition: PDCwtypes.h:101
KeypadInputController * vwKeypadInput
Definition: BarcodeScannerController.h:51
NSString * codes[10]
Definition: BarcodeScannerController.h:41
CGRect customFrame
Definition: BarcodeScannerController.h:66
ZBarImageScanner * scanner
Definition: BarcodeScannerController.h:58
UIToolbar * toolBar
Definition: BarcodeScannerController.h:46
UIButton * cancelButton
Definition: BarcodeScannerController.h:47
UIBarButtonItem * segmentButton
Definition: BarcodeScannerController.h:53
Definition: BarcodeScannerController.h:31
BOOL isVertical
Definition: BarcodeScannerController.h:43
UIView * boxView
Definition: BarcodeScannerController.h:62
BOOL statusBarHidden
Definition: BarcodeScannerController.h:65
UIImageView * lensCover
Definition: BarcodeScannerController.h:49
id< BarcodeScannerControllerDelegate > __weak delegate
Definition: BarcodeScannerController.h:56
UISegmentedControl * toggleCamera
Definition: BarcodeScannerController.h:52
UITextField * textField
Definition: BarcodeScannerController.h:50
CALayer * boxLayer
Definition: BarcodeScannerController.h:61
UIView * keypadView
Definition: BarcodeScannerController.h:54
ZBarSymbol * symbol
Definition: BarcodeScannerController.h:60
BOOL cameraActive
Definition: BarcodeScannerController.h:45
< KeypadInputControllerDelegate > NSTimer * timer
Definition: BarcodeScannerController.h:38
BOOL isOS4Available
Definition: BarcodeScannerController.h:64
UIImageView * scanView
Definition: BarcodeScannerController.h:48
Definition: BarCodeCB.h:29
CGRect scanCrop
Definition: BarcodeScannerController.h:57
NSInteger maxScanDimension
Definition: BarcodeScannerController.h:59
NSString * currentValue
Definition: BarcodeScannerController.h:55
UIView * originalView
Definition: BarcodeScannerController.h:44
int codeIndex
Definition: BarcodeScannerController.h:42