//
//  CallOutViewController.h
//  EAMiPad
//
//  Created by Satish Kumar Jakkula on 5/15/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

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

@class AddressAnnotation;

@protocol CallOutViewControllerDelegate<NSObject>

@optional

- (void)detailsButtonPressed:(id )sender forAnnotation:(AddressAnnotation *)address;
- (void)directionsButtonPressed:(id )sender forAnnotation:(AddressAnnotation *)address;
- (void)workRequestButtonPressed:(id)sender;
- (void)nearByUsersButtonPressed:(id)sender;
@end


@interface CallOutViewController : UIViewController
{
    
}

@property (unsafe_unretained) id<CallOutViewControllerDelegate>     delegate;
@property (strong, nonatomic) IBOutlet UIButton *buttonAddress;
@property (strong, nonatomic) IBOutlet UIButton *buttonDirections;
@property (strong, nonatomic) IBOutlet UIButton *buttonWorkRequest;
@property (strong, nonatomic) IBOutlet UIButton *buttonNearByUsers;

- (void)setAddressAnnotation:(AddressAnnotation *)address;
- (void)showNoAddressLabel:(BOOL )show andAddressAnnotationType:(AnnotationType )type;
- (void)hideWorkRequestButton:(BOOL )hide;
- (void)hideNearByUsersButton:(BOOL )hide;

@end
