zxing/iphone/Barcodes/Classes/ZXMainViewController.h
smparkes@smparkes.net b9cbb959c7 give user option of returning to zxing:// on cancel
git-svn-id: https://zxing.googlecode.com/svn/trunk@2631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-06 23:11:46 +00:00

36 lines
874 B
Objective-C

//
// ZXMainViewController.h
// Barcodes
//
// Created by Romain Pechayre on 11/14/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZXingWidgetController.h"
#import "MessageViewController.h"
#import "ModalViewControllerDelegate.h"
@class UniversalResultParser;
@class ParsedResult;
@class ResultAction;
@interface ZXMainViewController : UIViewController <ZXingDelegate,UIActionSheetDelegate,ModalViewControllerDelegate,UIAlertViewDelegate> {
NSArray *actions;
ParsedResult *result;
}
@property (nonatomic,assign) NSArray *actions;
@property (nonatomic,assign) ParsedResult *result;
- (IBAction)scan:(id)sender;
- (void)zxingController:(ZXingWidgetController*)controller didScanResult:(NSString *)result;
- (void)zxingControllerDidCancel:(ZXingWidgetController*)controller;
- (void)performResultAction;
@end