You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
776 B
37 lines
776 B
#import <UIKit/UIKit.h>
|
|
#import "ZBarSDK.h"
|
|
|
|
@class EZCodeScannerViewController;
|
|
|
|
@interface EZCodeScannerViewController : UIViewController <ZBarReaderViewDelegate>
|
|
{
|
|
UINavigationController *navController;
|
|
ZBarReaderView * mReader;
|
|
UILabel* mLabel;
|
|
|
|
bool mCodeFound;
|
|
bool mShowUI;
|
|
char* mDefaultText;
|
|
int mSymbols;
|
|
bool mForceLandscape;
|
|
unsigned char* mPixelData;
|
|
int mPixelSize;
|
|
float screen_width;
|
|
float screen_height;
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void launchScannerImpl(struct ConfigStruct *confStruct);
|
|
bool getScannedImageImpl(unsigned char** imageData, int* imageDataLength);
|
|
void decodeImageImpl(int symbols, const char* pixelBytes, int64_t length);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
@end
|