//
//  HomeViewController.h
//  EAMiPad
//
//  Created by Satish on 11/3/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SyncViewController.h"
#import "ECSlidingViewController.h"

@class EAMAppDelegate;
@class EAMLoginViewController;

@interface HomeViewController : UIViewController<UIPopoverControllerDelegate> {
    
}

@property (nonatomic, unsafe_unretained) EAMAppDelegate    *appDelegate;
@property (nonatomic, strong) EAMLoginViewController   *loginViewController;
@property (nonatomic, strong) UIPopoverController   *popOverController;

@property (nonatomic        )           BOOL        performAction;
@property (nonatomic        )           NSString    *actionType;

//@property (strong, nonatomic) IBOutlet UIButton *buttonWSPrompts; //prompt is on hold

- (void)changeScreenLanguage;
- (void)logout:(NSNotification *)notification;
- (IBAction)showLogout:(id)sender;

- (void)updateData:(SyncType)type;
- (void)changeOrganization:(NSString *)org;

- (void)executeAMethod:(NSString *)strAction;

@end
