CCMain.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. //
  2. // CCMain.h
  3. // Crypto Cloud Technology Nextcloud
  4. //
  5. // Created by Marino Faggiana on 04/09/14.
  6. // Copyright (c) 2017 TWS. All rights reserved.
  7. //
  8. // Author Marino Faggiana <m.faggiana@twsweb.it>
  9. //
  10. // This program is free software: you can redistribute it and/or modify
  11. // it under the terms of the GNU General Public License as published by
  12. // the Free Software Foundation, either version 3 of the License, or
  13. // (at your option) any later version.
  14. //
  15. // This program is distributed in the hope that it will be useful,
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. // GNU General Public License for more details.
  19. //
  20. // You should have received a copy of the GNU General Public License
  21. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. //
  23. #import <UIKit/UIKit.h>
  24. #import <MobileCoreServices/MobileCoreServices.h>
  25. #import <MediaPlayer/MediaPlayer.h>
  26. #import <AudioToolbox/AudioToolbox.h>
  27. #import "TWMessageBarManager.h"
  28. #import "SSZipArchive.h"
  29. #import "AHKActionSheet.h"
  30. #import "CTAssetSelectionLabel.h"
  31. #import "BKPasscodeViewController.h"
  32. #import "NSString+TruncateToWidth.h"
  33. #import "UINavigationController+CCProgress.h"
  34. #import "UIScrollView+EmptyDataSet.h"
  35. #import "CCLogin.h"
  36. #import "CCCellMain.h"
  37. #import "CCCellMainTransfer.h"
  38. #import "CCMove.h"
  39. #import "CCDetail.h"
  40. #import "CTAssetsPickerController.h"
  41. #import "CCTemplates.h"
  42. #import "CCShareOC.h"
  43. #import "CCShareInfoCMOC.h"
  44. #import "CCNetworking.h"
  45. #import "CCCoreData.h"
  46. #import "CCMove.h"
  47. #import "CCGraphics.h"
  48. #import "CCSection.h"
  49. #import "CCUtility.h"
  50. #import "CCHud.h"
  51. #import "CCMenuAccount.h"
  52. #import "CCPeekPop.h"
  53. #import "CCAccountWeb.h"
  54. #import "CCBancomat.h"
  55. #import "CCCartaDiCredito.h"
  56. #import "CCCartaIdentita.h"
  57. #import "CCContoCorrente.h"
  58. #import "CCNote.h"
  59. #import "CCPassaporto.h"
  60. #import "CCPatenteGuida.h"
  61. @interface CCMain : UITableViewController <UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate, UIGestureRecognizerDelegate, UIDocumentInteractionControllerDelegate, UIViewControllerPreviewingDelegate, CCMoveDelegate, CTAssetsPickerControllerDelegate, BKPasscodeViewControllerDelegate, UISplitViewControllerDelegate, UIPopoverControllerDelegate, CCNetworkingDelegate, CCShareOCDelegate, CCAccountWebDelegate, CCBancomatDelegate, CCCartaDiCreditoDelegate, CCCartaIdentitaDelegate, CCContoCorrenteDelegate, CCNoteDelegate, CCPassaportoDelegate, CCPatenteGuidaDelegate, CCPeekPopDelegate, UIDocumentMenuDelegate, UIDocumentPickerDelegate, UISearchResultsUpdating, UISearchControllerDelegate, UISearchBarDelegate, UIScrollViewDelegate, CCLoginDelegate, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
  62. @property BOOL isFolderEncrypted;
  63. @property (nonatomic, strong) NSString *serverUrl;
  64. @property (nonatomic, strong) NSString *titleMain;
  65. @property (nonatomic, strong) NSString *textBackButton;
  66. @property (nonatomic, weak) CCShareOC *shareOC;
  67. @property (nonatomic, weak) CCDetail *detailViewController;
  68. @property (nonatomic, strong) UISearchController *searchController;
  69. - (void)closeAllMenu;
  70. - (void)returnCreate:(NSInteger)type;
  71. - (void)createFolderCameraUpload;
  72. - (void)createFolder:(NSString *)fileNameFolder folderCameraUpload:(BOOL)folderCameraUpload;
  73. - (void)readFolderWithForced:(BOOL)forced serverUrl:(NSString *)serverUrl;
  74. - (void)uploadFileAsset:(NSMutableArray *)assets serverUrl:(NSString *)serverUrl cryptated:(BOOL)cryptated useSubFolder:(BOOL)useSubFolder session:(NSString *)session;
  75. - (void)reloadTaskButton:(CCMetadata *)metadata;
  76. - (void)cancelTaskButton:(CCMetadata *)metadata reloadTable:(BOOL)reloadTable;
  77. - (void)stopTaskButton:(CCMetadata *)metadata;
  78. - (void)reloadDatasource;
  79. - (void)reloadDatasource:(NSString *)serverUrl fileID:(NSString *)fileID selector:(NSString *)selector;
  80. - (void)requestServerCapabilities;
  81. - (void)openWindowShare:(CCMetadata *)metadata;
  82. - (void)synchronizeFolderGraphicsServerUrl:(NSString *)serverUrl animation:(BOOL)animation;
  83. - (void)clearDateReadDataSource:(NSNotification *)notification;
  84. - (void)cancelSearchBar;
  85. - (BOOL)shouldPerformSegue;
  86. @end