//
//  StartPage.h
//  C172 Pad
//
//  Created by Claus Richter on 10/27/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <MessageUI/MFMailComposeViewController.h>



@interface StartPage : UIViewController <MFMailComposeViewControllerDelegate> {
    int alertFlag;
    
    
    NSString *customerFolderNameWithSpaces;
    
    NSString *activeCustomerName;
    NSString *activeFleetControlID;
    
    
    NSMutableArray *arrayCustomerName;
    NSMutableArray *arrayUserName;
    NSMutableArray *arrayUserPassword;
    NSMutableArray *arrayUserFleetControlID;
    NSMutableArray *arrayUserExtras;
    int usernameAndPasswordMatch;

  
    
}

extern NSString *logInVersion;


@property (strong, nonatomic) IBOutlet UIView *viewStart1;

@property (strong, nonatomic) IBOutlet UIView *viewStart2;

@property (strong, nonatomic) IBOutlet UITextField *inputCustomerCode;

@property (strong, nonatomic) IBOutlet UIButton *logInButton;

@property (strong, nonatomic) IBOutlet UILabel *labelWelcome;

- (IBAction)closeKeyboardEnterUsername:(id)sender;

@property (strong, nonatomic) IBOutlet UILabel *labelLoadingData;


- (IBAction)actionSendEmail:(id)sender;


@property (strong, nonatomic) IBOutlet UIImageView *backgroundSkyImage;

- (IBAction)buttonActionLogIn:(id)sender;


@property (strong, nonatomic) IBOutlet UITextField *inputUserName;

@property (strong, nonatomic) IBOutlet UITextField *inputPassword;


- (IBAction)actionButtonStartWhenLoggedIn:(id)sender;

- (IBAction)actionButtonStartWithResetWhenLoggedIn:(id)sender;

@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *startSpinner;

@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *startSpinner2;

@property (strong, nonatomic) IBOutlet UIView *viewStart3;
@property (strong, nonatomic) IBOutlet UIView *viewProgress;
@property (strong, nonatomic) IBOutlet UIView *infoView1;

@property (strong, nonatomic) IBOutlet UILabel *welcomeTextLabel;

@property (strong, nonatomic) IBOutlet UIView *viewOne;

- (IBAction)StartWithoutAccount:(id)sender;

@property (strong, nonatomic) IBOutlet UIView *viewStartWithoutAccount;

@property (strong, nonatomic) IBOutlet UITextField *inputLicense1;
@property (strong, nonatomic) IBOutlet UITextField *inputLicense2;
@property (strong, nonatomic) IBOutlet UITextField *inputLicense3;
@property (strong, nonatomic) IBOutlet UIView *viewStart4License;
@property (strong, nonatomic) IBOutlet UIView *viewStart5Disclaimer;
- (IBAction)actionActivateLicense:(id)sender;

- (IBAction)actionAcceptDisclaimer:(id)sender;
@property (strong, nonatomic) IBOutlet UIButton *buttonAcceptDisclaimer;


- (IBAction)actionAccountInfo:(id)sender;

- (IBAction)actionOpenWebsite:(id)sender;

@end
