// // AMScanViewController.h // EasyOrder // // Created by Alexander Mack on 11.10.13. // Copyright (c) 2013 Alexander Mack. All rights reserved. // #import #import @protocol AMScanViewControllerDelegate; @interface AMScanViewController : UIViewController @property (nonatomic, weak) id delegate; @property (assign, nonatomic) BOOL touchToFocusEnabled; - (BOOL) isCameraAvailable; - (void) startScanning; - (void) stopScanning; - (void) setTourch:(BOOL) aStatus; @end @protocol EDScanViewControllerDelegate @optional - (void) scanViewController:(EDScanViewController *) aCtler didTabToFocusOnPoint:(CGPoint) aPoint; - (void) scanViewController:(EDScanViewController *) aCtler didSuccessfullyScan:(NSString *) aScannedValue; @end