// // CCMain.h // Crypto Cloud Technology Nextcloud // // Created by Marino Faggiana on 04/09/14. // Copyright (c) 2017 TWS. All rights reserved. // // Author Marino Faggiana // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // #import #import #import #import #import "TWMessageBarManager.h" #import "SSZipArchive.h" #import "AHKActionSheet.h" #import "CTAssetSelectionLabel.h" #import "BKPasscodeViewController.h" #import "NSString+TruncateToWidth.h" #import "UINavigationController+CCProgress.h" #import "UIScrollView+EmptyDataSet.h" #import "CCLogin.h" #import "CCCellMain.h" #import "CCCellMainTransfer.h" #import "CCMove.h" #import "CCDetail.h" #import "CTAssetsPickerController.h" #import "CCTemplates.h" #import "CCShareOC.h" #import "CCShareInfoCMOC.h" #import "CCNetworking.h" #import "CCMove.h" #import "CCGraphics.h" #import "CCSection.h" #import "CCUtility.h" #import "CCHud.h" #import "CCMenuAccount.h" #import "CCPeekPop.h" #import "CCAccountWeb.h" #import "CCBancomat.h" #import "CCCartaDiCredito.h" #import "CCCartaIdentita.h" #import "CCContoCorrente.h" #import "CCNote.h" #import "CCPassaporto.h" #import "CCPatenteGuida.h" @class tableMetadata; @interface CCMain : UITableViewController @property BOOL isFolderEncrypted; @property (nonatomic, strong) NSString *serverUrl; @property (nonatomic, strong) NSString *titleMain; @property (nonatomic, strong) NSString *textBackButton; @property (nonatomic, weak) CCShareOC *shareOC; @property (nonatomic, weak) CCDetail *detailViewController; @property (nonatomic, strong) UISearchController *searchController; - (void)closeAllMenu; - (void)returnCreate:(NSInteger)type; - (void)createFolderAutoUpload; - (void)createFolder:(NSString *)fileNameFolder autoUploadDirectory:(BOOL)autoUploadDirectory; - (void)readFolderWithForced:(BOOL)forced serverUrl:(NSString *)serverUrl; - (void)uploadFileAsset:(NSMutableArray *)assets serverUrl:(NSString *)serverUrl cryptated:(BOOL)cryptated useSubFolder:(BOOL)useSubFolder session:(NSString *)session; - (void)reloadTaskButton:(tableMetadata *)metadata; - (void)cancelTaskButton:(tableMetadata *)metadata reloadTable:(BOOL)reloadTable; - (void)stopTaskButton:(tableMetadata *)metadata; - (void)reloadDatasource; - (void)reloadDatasource:(NSString *)serverUrl fileID:(NSString *)fileID selector:(NSString *)selector; - (void)requestServerCapabilities; - (void)openWindowShare:(tableMetadata *)metadata; - (void)synchronizeFolderGraphicsServerUrl:(NSString *)serverUrl animation:(BOOL)animation; - (void)clearDateReadDataSource:(NSNotification *)notification; - (void)cancelSearchBar; - (BOOL)shouldPerformSegue; @end