mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 13:34:08 -08:00
ab6b4908f4
git-svn-id: https://zxing.googlecode.com/svn/trunk@1649 59b500cc-1b3d-0410-9834-0bbf25fbcc57
31 lines
831 B
Objective-C
31 lines
831 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"
|
|
@class UniversalResultParser;
|
|
@class ParsedResult;
|
|
|
|
@interface ZXMainViewController : UIViewController <ZXingDelegate,UIActionSheetDelegate> {
|
|
UniversalResultParser *resultParser;
|
|
NSArray *actions;
|
|
ParsedResult *result;
|
|
}
|
|
|
|
@property(nonatomic,retain) UniversalResultParser *resultParser;
|
|
@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
|