| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // AppDelegate.h
- // AntsContract
- //
- // Created by Ray on 12/16/16.
- // Copyright © 2016 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger, AppAccessMode) {
- AppAccessModeOffline = 0,
- AppAccessModeOnline = 1
- };
- @interface AppDelegate : UIResponder <UIApplicationDelegate>
- @property (strong, nonatomic) UIWindow *window;
- @property bool bEnable_Cache;
- @property bool bLogin;
- @property bool skip_verify;
- //@property (strong,nonatomic) NSString* offPrefix;
- @property (strong,nonatomic) NSString* na_path;
- @property (strong,nonatomic) NSString* user;
- @property (strong,nonatomic) NSString * password;
- @property (strong,nonatomic) NSString* build;
- @property (strong,nonatomic) NSString* agentName;
- -(void) Logout;
- -(void) Login:(NSString* )user pwd:(NSString*) pwd skip_verify:(bool) skip_verify offPrefix:(NSString*) offPrefix agentName:(NSString*) name;
- @property (strong,nonatomic) NSString* printerURL;
- @property (strong,nonatomic) NSMutableDictionary* shareFile;
- @property (assign) AppAccessMode accessMode;
- -(void) SwitchToOffline:(NSString* )user;
- @end
|