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


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

#define kTypeTous		0
#define kTypeChalet		1
#define kTypeCondos		2
#define kTypeMaison		3
#define kTypeBordLac	4
#define kTypePenteSki	5

@interface ListeViewController : UITableViewController <CLLocationManagerDelegate>{
	CLLocationManager *locationManager;
	
	NSArray *list;
	NSIndexPath *lastIndexPathFiltre;
	UISegmentedControl *tri;
	
	FiltreViewController *filtreController;
	
}
@property (nonatomic,retain) NSArray *list;
@property (nonatomic,retain) FiltreViewController *filtreController;
@property (nonatomic,retain) IBOutlet UISegmentedControl *tri;
@property (nonatomic,retain) CLLocationManager *locationManager;
-(IBAction)toggleOrder:(id)sender;
-(IBAction)filtrer;
@end

