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

#import <UIKit/UIKit.h>

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

#define kPrixMax		5000
#define kPrixMin		600

@interface FiltreViewController : UIViewController {
	NSArray *listGroupOne;
	NSArray *listGroupTwo;
	NSIndexPath *lastIndexPath;
	UIButton  *appliquerButton;
	UITableView *table;
	
	UISlider *sliderPrixMin;
	UISlider *sliderPrixMax;
	
	UILabel *prixMin;
	UILabel *prixMax;
	
	
}
@property (nonatomic,retain) NSArray *listGroupOne;
@property (nonatomic,retain) NSArray *listGroupTwo;
@property (nonatomic,retain) NSIndexPath *lastIndexPath;
@property (nonatomic,retain) UIButton  *appliquerButton;
@property (nonatomic,retain) IBOutlet UITableView *table;
@property (nonatomic,retain) IBOutlet UISlider *sliderPrixMin;
@property (nonatomic,retain) IBOutlet UISlider *sliderPrixMax;
@property (nonatomic,retain) IBOutlet UILabel *prixMin;
@property (nonatomic,retain) IBOutlet UILabel *prixMax;

-(IBAction)reInitialiser;
-(IBAction)appliquer;
-(IBAction)sliderMinChanged:(id)sender;
-(IBAction)sliderMaxChanged:(id)sender;
@end

