123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- #import <Foundation/Foundation.h>
- #import <UserNotifications/UserNotifications.h>
- #import <PushKit/PushKit.h>
- #import "BKPasscodeLockScreenManager.h"
- #import "REMenu.h"
- #import "Reachability.h"
- #import "TWMessageBarManager.h"
- #import "CCBKPasscode.h"
- #import "CCUtility.h"
- #import "CCDetail.h"
- #import "CCMain.h"
- #import "CCSettings.h"
- #import "CCFavorites.h"
- #import "CCTransfers.h"
- @class CCMore;
- @class NCMedia;
- @class NCOffline;
- @interface AppDelegate : UIResponder <UIApplicationDelegate, BKPasscodeLockScreenManagerDelegate, BKPasscodeViewControllerDelegate, TWMessageBarStyleSheet, CCNetworkingDelegate, PKPushRegistryDelegate>
- @property (nonatomic, strong) NSTimer *timerProcessAutoDownloadUpload;
- @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, strong) NSMutableArray<OCCommunication *> *listOfNotifications;
- @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 (nonatomic, strong) NSString *pushKitToken;
- @property (nonatomic, strong) REMenu *reMainMenu;
- @property (nonatomic, strong) REMenuItem *selezionaItem;
- @property (nonatomic, strong) REMenuItem *sortFileNameAZItem;
- @property (nonatomic, strong) REMenuItem *sortFileNameZAItem;
- @property (nonatomic, strong) REMenuItem *sortDateMoreRecentItem;
- @property (nonatomic, strong) REMenuItem *sortDateLessRecentItem;
- @property (nonatomic, strong) REMenuItem *sortSmallestItem;
- @property (nonatomic, strong) REMenuItem *sortLargestItem;
- @property (nonatomic, strong) REMenuItem *alphabeticItem;
- @property (nonatomic, strong) REMenuItem *typefileItem;
- @property (nonatomic, strong) REMenuItem *dateItem;
- @property (nonatomic, strong) REMenuItem *directoryOnTopItem;
- @property (nonatomic, strong) REMenu *reSelectMenu;
- @property (nonatomic, strong) REMenuItem *selectAllItem;
- @property (nonatomic, strong) REMenuItem *deleteItem;
- @property (nonatomic, strong) REMenuItem *moveItem;
- @property (nonatomic, strong) REMenuItem *encryptItem;
- @property (nonatomic, strong) REMenuItem *decryptItem;
- @property (nonatomic, strong) REMenuItem *downloadItem;
- @property (nonatomic, strong) REMenuItem *saveItem;
- @property (nonatomic, strong) Reachability *reachability;
- @property BOOL lastReachability;
- @property (nonatomic, strong) CCMain *activeMain;
- @property (nonatomic, strong) CCMain *homeMain;
- @property (nonatomic, strong) CCFavorites *activeFavorites;
- @property (nonatomic, strong) NCMedia *activeMedia;
- @property (nonatomic, retain) CCDetail *activeDetail;
- @property (nonatomic, retain) CCSettings *activeSettings;
- @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, strong) NSMutableDictionary *listMainVC;
- @property (nonatomic, strong) NSMutableDictionary *listProgressMetadata;
- @property (nonatomic, strong) NSMutableArray *filterocId;
- @property (nonatomic, strong) NSMutableArray *sessionPendingStatusInUpload;
- @property (nonatomic, strong) NSArray *shares;
- @property BOOL maintenanceMode;
- @property (nonatomic, strong) NSUserDefaults *ncUserDefaults;
- - (void)startTimerErrorNetworking;
- - (void)openLoginView:(UIViewController *)viewController delegate:(id)delegate loginType:(NSInteger)loginType selector:(NSInteger)selector;
- - (void)settingActiveAccount:(NSString *)activeAccount activeUrl:(NSString *)activeUrl activeUser:(NSString *)activeUser activeUserID:(NSString *)activeUserID activePassword:(NSString *)activePassword;
- - (void)deleteAccount:(NSString *)account wipe:(BOOL)wipe;
- - (void)configDynamicShortcutItems;
- - (BOOL)handleShortCutItem:(UIApplicationShortcutItem *)shortcutItem;
- - (void)messageNotification:(NSString *)title description:(NSString *)description visible:(BOOL)visible delay:(NSTimeInterval)delay type:(TWMessageBarMessageType)type errorCode:(NSInteger)errorcode;
- - (void)updateApplicationIconBadgeNumber;
- - (void)createTabBarController:(UITabBarController *)tabBarController;
- - (void)aspectNavigationControllerBar:(UINavigationBar *)nav online:(BOOL)online hidden:(BOOL)hidden;
- - (void)aspectTabBar:(UITabBar *)tab hidden:(BOOL)hidden;
- - (void)plusButtonVisibile:(BOOL)visible;
- - (void)selectedTabBarController:(NSInteger)index;
- - (NSString *)getTabBarControllerActiveServerUrl;
- - (void)pushNotification;
- - (void)unsubscribingNextcloudServerPushNotification:(NSString *)account url:(NSString *)url withSubscribing:(BOOL)subscribing;
- - (void)settingThemingColorBrand;
- - (void)changeTheming:(UIViewController *)vc;
- - (void)loadAutoDownloadUpload;
- - (void)startLoadAutoDownloadUpload;
- - (void)maintenanceMode:(BOOL)mode;
- @end
|