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

#import <UIKit/UIKit.h>
#import "Immeuble.h"


@interface DetailViewController : UIViewController <MKMapViewDelegate> {
	Immeuble	*unImmeuble;
	UILabel		*styleLabel;
	UILabel		*prixLabel;
	UILabel		*adresseLabel;
	UILabel		*latitude;
	UILabel		*longitude;
	
	UIImageView	*mainImageView;
	
	IBOutlet UIScrollView  *scroll;
	
	MKMapView *map;
}
@property (nonatomic,retain) Immeuble *unImmeuble;
@property (nonatomic,retain) IBOutlet UILabel *styleLabel;
@property (nonatomic,retain) IBOutlet UILabel *prixLabel;
@property (nonatomic,retain) IBOutlet UILabel *adresseLabel;
@property (nonatomic,retain) IBOutlet UIImageView *mainImageView;
@property (nonatomic,retain) IBOutlet UILabel		*latitude;
@property (nonatomic,retain) IBOutlet UILabel		*longitude;
@property (nonatomic, retain)IBOutlet MKMapView *map;
-(void)ajouterFavoris;
-(IBAction)getItineraire;
@end
