123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- #import <Foundation/Foundation.h>
- #import <UserNotifications/UserNotifications.h>
- #import <PushKit/PushKit.h>
- #import <AVKit/AVKit.h>
- #import <LocalAuthentication/LocalAuthentication.h>
- #import <TOPasscodeViewController/TOPasscodeViewController.h>
- #import "CCUtility.h"
- #import "CCMain.h"
- #import "CCSettings.h"
- #import "CCFavorites.h"
- #import "CCTransfers.h"
- @class CCMore;
- @class NCMedia;
- @class NCOffline;
- @class NCAppConfigView;
- @class IMImagemeterViewer;
- @class NCDetailViewController;
- @interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate>
- @property (nonatomic, strong) NSTimer *timerProcessAutoUpload;
- @property (nonatomic, strong) NSTimer *timerUpdateApplicationIconBadgeNumber;
- @property (nonatomic, strong) NSTimer *timerErrorNetworking;
- @property (strong, nonatomic) UIWindow *window;
- @property (nonatomic, strong) NSString *activeAccount;
- @property (nonatomic, strong) NSString *activeUrl;
- @property (nonatomic, strong) NSString *activeUser;
- @property (nonatomic, strong) NSString *activeUserID;
- @property (nonatomic, strong) NSString *activePassword;
- @property (nonatomic, strong) NSString *activeEmail;
- @property double currentLatitude;
- @property double currentLongitude;
- @property (nonatomic, copy) void (^backgroundSessionCompletionHandler)(void);
- @property (nonatomic, strong) NSString *fileNameUpload;
- @property (nonatomic, strong) NSDate *sessionePasscodeLock;
- @property (nonatomic, strong) AVPlayer *player;
- @property (nonatomic, strong) AVPlayerViewController *playerController;
- @property BOOL isMediaObserver;
- @property (nonatomic, strong) NSString *pushKitToken;
- @property (nonatomic, strong) UIProgressView *progressViewDetail;
- @property (nonatomic, retain) TOPasscodeViewController *passcodeViewController;
- @property (nonatomic, strong) CCMain *activeMain;
- @property (nonatomic, strong) CCMain *homeMain;
- @property (nonatomic, strong) CCFavorites *activeFavorites;
- @property (nonatomic, strong) NCMedia *activeMedia;
- @property (nonatomic, retain) NCDetailViewController *activeDetail;
- @property (nonatomic, retain) CCTransfers *activeTransfers;
- @property (nonatomic, retain) CCLogin *activeLogin;
- @property (nonatomic, retain) NCLoginWeb *activeLoginWeb;
- @property (nonatomic, retain) CCMore *activeMore;
- @property (nonatomic, retain) NCOffline *activeOffline;
- @property (nonatomic, retain) NCAppConfigView *appConfigView;
- @property (nonatomic, retain) IMImagemeterViewer *activeImagemeterView;
- @property (nonatomic, strong) NSMutableDictionary *listMainVC;
- @property (nonatomic, strong) NSMutableDictionary *listProgressMetadata;
- @property (nonatomic, strong) NSMutableArray *arrayDeleteMetadata;
- @property (nonatomic, strong) NSMutableArray *arrayMoveMetadata;
- @property (nonatomic, strong) NSMutableArray *arrayMoveServerUrlTo;
- @property (nonatomic, strong) NSMutableArray *arrayCopyMetadata;
- @property (nonatomic, strong) NSMutableArray *arrayCopyServerUrlTo;
- @property (nonatomic) UIUserInterfaceStyle preferredUserInterfaceStyle API_AVAILABLE(ios(12.0));
- @property (nonatomic, strong) NSArray *shares;
- @property BOOL maintenanceMode;
- @property (nonatomic, strong) NSUserDefaults *ncUserDefaults;
- - (void)startTimerErrorNetworking;
- - (void)openLoginView:(UIViewController *)viewController selector:(NSInteger)selector openLoginWeb:(BOOL)openLoginWeb;
- - (void)settingActiveAccount:(NSString *)activeAccount activeUrl:(NSString *)activeUrl activeUser:(NSString *)activeUser activeUserID:(NSString *)activeUserID activePassword:(NSString *)activePassword;
- - (void)deleteAccount:(NSString *)account wipe:(BOOL)wipe;
- - (void)settingSetupCommunicationCapabilities:(NSString *)account;
- - (void)configDynamicShortcutItems;
- - (BOOL)handleShortCutItem:(UIApplicationShortcutItem *)shortcutItem;
- - (void)createTabBarController:(UITabBarController *)tabBarController;
- - (NSString *)getTabBarControllerActiveServerUrl;
- - (void)pushNotification;
- - (void)settingThemingColorBrand;
- - (void)changeTheming:(UIViewController *)viewController tableView:(UITableView *)tableView collectionView:(UICollectionView *)collectionView form:(BOOL)form;
- - (void)loadAutoUpload;
- - (void)startLoadAutoUpload;
- - (void)maintenanceMode:(BOOL)mode;
- @end
|