//
//  AccountWebInterface.h
//  EAMiPad
//
//  Created by Satish on 11/7/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Login.h"

@interface AccountWebInterface : NSObject
{
    
}

@property (nonatomic, strong) NSURLConnection         *conAuthentication;
@property (nonatomic, strong) NSMutableData           *dataAuthentication;

+ (AccountWebInterface *)sharedInstance;

//- (void)terminate:(NSURLConnection *)connection;
//- (void) connection:(NSURLConnection*) connection didFailWithError: (NSError *) error;

- (void)authenticateUser:(Login *)logindetails;

#pragma mark -
#pragma mark Notifications
extern NSString *const AuthenticationCompleted;
extern NSString *const AuthenticationFailed;

@end
