//
//  GMSAppDelegate.h
//  GMS Sample
//
/*
 Version: 1.0
 
 Disclaimer: IMPORTANT:  This software is supplied to you by Genesys
 Telecommunications Laboratories Inc ("Genesys") in consideration of your agreement
 to the following terms, and your use, installation, modification or redistribution
 of this Genesys software constitutes acceptance of these terms.  If you do not
 agree with these terms, please do not use, install, modify or redistribute this
 Genesys software.
 
 In consideration of your agreement to abide by the following terms, and subject
 to these terms, Genesys grants you a personal, non-exclusive license, under
 Genesys's copyrights in this original Genesys software (the "Genesys Software"), to
 use, reproduce, modify and redistribute the Genesys Software, with or without
 modifications, in source and/or binary forms; provided that if you redistribute
 the Genesys Software in its entirety and without modifications, you must retain
 this notice and the following text and disclaimers in all such redistributions
 of the Genesys Software.
 
 Neither the name, trademarks, service marks or logos of Genesys Inc. may be used
 to endorse or promote products derived from the Genesys Software without specific
 prior written permission from Genesys.  Except as expressly stated in this notice,
 no other rights or licenses, express or implied, are granted by Genesys herein,
 including but not limited to any patent rights that may be infringed by your
 derivative works or by other works in which the Genesys Software may be
 incorporated.
 
 The Genesys Software is provided by Genesys on an "AS IS" basis.  GENESYS MAKES NO
 WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
 WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 PURPOSE, REGARDING THE GENESYS SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
 COMBINATION WITH YOUR PRODUCTS.
 
 IN NO EVENT SHALL GENESYS BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR
 DISTRIBUTION OF THE GENESYS SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF
 CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
 GENESYS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Copyright (C) 2013 Genesys Inc. All Rights Reserved.
 */

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

@class GMSChatViewController;
@class GMSScreenSharing;

@interface GMSAppDelegate : UIResponder <UIApplicationDelegate, CLLocationManagerDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) NSString *serviceID;
@property (strong, nonatomic) NSString *userID;
@property (strong, nonatomic) NSString *userPwd;
@property (strong, nonatomic) NSString *way2Connect;
@property (strong, nonatomic) NSString *problemInfoLevel;
@property (strong, nonatomic) NSString *problemContent;
@property (strong, nonatomic) NSString *appPath;
@property (nonatomic, setter=setServerURLSelected:) int serverURLSelected;
@property (strong, nonatomic) NSMutableArray *serverURLs;
@property (strong, nonatomic) NSString *callbackServiceName;
@property (nonatomic) BOOL serverAPNDebug;
@property (strong, nonatomic) NSString *customerSegment;
@property (strong, nonatomic) NSString *themeFlavor;
@property (strong, nonatomic) NSString *contactNumber;
@property (nonatomic) BOOL loginRequired;
@property (nonatomic) BOOL audioEnabled;
@property (nonatomic) BOOL audioAutoPlay;
@property (nonatomic) BOOL audioRecordEnabled;
@property (nonatomic) BOOL provideCode;
@property (nonatomic) BOOL clearChatOnNewSession;
@property (strong, nonatomic) NSString *notifyToken;
@property (strong, nonatomic) CLLocationManager *locationManager;
@property (nonatomic) CLLocationCoordinate2D location;
@property (strong, nonatomic) NSDate *date;
@property (weak, nonatomic) GMSChatViewController *chatViewController;
@property (strong, nonatomic) GMSScreenSharing *screenSharing;
@property (strong, nonatomic) NSString *screenSharingServiceName;

// Returns the currently selected server URL
//- (NSString*) serverURL;

@end
