/* Copyright (c) 2011 Artjom Popov */

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "UTScannerControllerDelegate.h"

@class AVAudioPlayer, UTScannerResult;
@interface UTApplication : UIApplication <UIApplicationDelegate, AVAudioPlayerDelegate, UTScannerControllerDelegate>
{
	@private
	UITabBarController *m_controller;
	UIWindow *m_window;

	AVAudioPlayer *m_beeper;
	UTScannerResult *m_scannerResult;
	BOOL m_openURL;
	NSURL *m_url;
}

+ (UTApplication *)sharedApplication;

@property (nonatomic, retain, readonly) UITabBarController *controller;
@property (nonatomic, retain, readonly) UIWindow *window;
@property (nonatomic, assign) BOOL openURL;
@property (nonatomic, retain) NSURL *url;

@end
