//
//  LoginViewController.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 14-6-20.
//  Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ACNetwork.h"
#import "AESCrypt.h"
//#import "MyAutocompleteView.h"
@class LoginViewController;
@protocol LoginViewControllerDelegate <NSObject>

-(void) LoginViewControllerDidLogin:(LoginViewController *)viewController;

@end


@interface LoginViewController : UIViewController
@property (strong, nonatomic) IBOutlet UIButton *checkSavePassword;

//@property (strong, nonatomic) IBOutlet UIButton *checkOfflineMode;
@property (nonatomic, weak) id<LoginViewControllerDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIButton *btnLogin;

@property (strong, nonatomic) IBOutlet UIBarButtonItem *bb_close;
@property (strong, nonatomic) IBOutlet UITextField *edituser;
@property (strong, nonatomic) IBOutlet UITextField *editpass;
@property (nonatomic , copy) void (^returnValue)(bool blogin);

@property (strong, nonatomic) IBOutlet UITableView *Loginlist;
@property (strong, nonatomic)  NSArray *logindata;
@property bool showList;
//@property (strong,nonatomic) MyAutocompleteView * autocompleteView;
@end
