//
//  AgenceAppDelegate.h
//  Agence
//
//  Created by Olivier Savard on 11-01-19.
//  Copyright 2011 OSInfo Informatique. All rights reserved.
//


#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

@class AgenceViewController;

@interface AgenceAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate , CLLocationManagerDelegate>{
	CLLocationManager *locationManager;
    UIWindow *window;
    UINavigationController *navController;
	UITabBarController *tabBarController;
	NSMutableArray *list;
	
	NSIndexPath *lastIndexPathFiltre;
	NSString *montantMin;
	NSString *montantMax;
	
	NSMutableArray *listeFavoris;
	
	NSUInteger	countFavoris;      //clicker Favoris
	UITabBarItem *tabBarItem;
	
	CLLocationCoordinate2D	locationCentre;
	
	BOOL reload;
	BOOL reInit;
	BOOL success;
	
	UIImageView *splashView;
	
	NSMutableDictionary *imagesCacheSmall;
	NSMutableDictionary *imagesCacheLarge;
	
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navController;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
@property (nonatomic,retain) NSIndexPath *lastIndexPathFiltre;
@property (nonatomic, retain) NSMutableArray *list;
@property (nonatomic, retain) NSString *montantMin;
@property (nonatomic, retain) NSString *montantMax;
@property (nonatomic, readwrite) BOOL reload;
@property (nonatomic, readwrite) BOOL reInit;
@property (nonatomic, retain) NSMutableArray *listeFavoris;
@property (nonatomic ,readwrite) NSUInteger countFavoris;
@property (nonatomic, retain) IBOutlet UITabBarItem *tabBarItem;
@property (nonatomic, retain) CLLocationManager *locationManager;
@property (nonatomic, assign) CLLocationCoordinate2D	locationCentre;
@property (nonatomic, readwrite) BOOL success;
@property (nonatomic,retain) IBOutlet UIImageView *splashView;
@property (nonatomic,retain) NSMutableDictionary *imagesCacheSmall;
@property (nonatomic,retain) NSMutableDictionary *imagesCacheLarge;

-(NSString *)dataFilePath;


@end

