/* Copyright (c) 2011 Artjom Popov */

#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>

@protocol UTScannerDelegate;

typedef enum _UTScannerReaderError
{
	UTScannerReaderNoError = 0,
	UTScannerReaderUnknownError,
	UTScannerReaderTransformedPointOutOfBoundsError,
	UTScannerReaderLocatorDegreeError,
	UTScannerReaderFinderPatternsError
} UTScannerReaderError;

@interface UTScanner : NSObject
{
	@private
	NSOperationQueue *m_queue;
	id <UTScannerDelegate> m_delegate;
}

@property (nonatomic, assign) id <UTScannerDelegate> delegate;

- (void)scanSampleBuffer:(CMSampleBufferRef)sampleBuffer;

@end
