#import <Cordova/CDV.h>

#import <Foundation/Foundation.h>
@import UIKit;
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>
#import <Cordova/CDVPlugin.h>
#import <UIKit/UIKit.h>

@interface mInterface : CDVPlugin <CLLocationManagerDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIAlertViewDelegate>
{
    UIImagePickerController *ipc;
    UIPopoverController *popover;
    UIAlertController *alertChoice;
    UIAlertController *alertConfirm;
    NSString *spinnerCallbackId;
    NSNumber *spinnerIsFixed;
}- (void)Spinner:(CDVInvokedUrlCommand*)command;
- (void)GetPackageName:(CDVInvokedUrlCommand*)command;
- (void)UpdateNew:(CDVInvokedUrlCommand*)command;
- (void)StartService:(CDVInvokedUrlCommand*)command;
- (void)SendLocation;
- (void)GetLocation:(CDVInvokedUrlCommand*)command;
- (void)timeReader;
- (void)CheckSumIndicatorResult;
- (void)CheckLocation:(CDVInvokedUrlCommand*)command;
- (void)DespatchQueueNew;
- (void)CopyFile:(CDVInvokedUrlCommand*)command;
- (void)FileChooser:(CDVInvokedUrlCommand*)command;
- (NSString *)contentTypeForImageData:(NSString *)string;
- (void)UpdateChoice:(CDVInvokedUrlCommand*)command;
- (void)UpdateConfirm:(CDVInvokedUrlCommand*)command;
- (void)RefreshTimeProfile:(CDVInvokedUrlCommand*)command;
- (void)GetNewDate:(CDVInvokedUrlCommand*)command;
- (id)getCurrentDateTime;
-(void)timeValues:(NSString *)date hour:(NSString *)hour minute:(NSString *)minute;
- (void)KillTimers;
- (void)AuthenticationRefresh;
- (void)triggerAuthenticationServices:(NSString *)clientId  countryCode:(NSString *)countryCode  userId:(NSString *)userId  sessionId:(NSString *)sessionId  localeId:(NSString *)localeId  deviceID:(NSString *)deviceID  clientUrl:(NSString *)clientUrl  cvsUrl:(NSString *)cvsUrl authIndFilePath:(NSString *)authIndFilePath;
- (void)GetSyncIndicator:(CDVInvokedUrlCommand*)command;
@property (strong, nonatomic) CLLocationManager * locationManager;
@property (strong, nonatomic) NSMutableArray * coordinatesArray;
@property (weak, nonatomic) IBOutlet UIButton *btnGallery;
@property (strong, nonatomic) UIViewController * viewcont;
@property (nonatomic, strong) NSString *callbackIdForImagePicker;
@property (nonatomic, strong) NSString *callbackIdForAppUpdate;
@property NSTimer *QueueTimer;
@property NSTimer *LocationTimer;
@property NSTimer *timeReaderTimer;
@property NSTimer *CheckSumTimer;
@property NSTimer *authTimer;
@property UIActivityIndicatorView *activityIndicator;
@property (nonatomic, retain) UIActivityIndicatorView *indicator;
@property (nonatomic, retain) UIView *overlay;
@end
