Marino Faggiana 8 anni fa
parent
commit
00edf6a007

+ 0 - 4
Libraries external/OCCommunicationLib/OCCommunicationLib/OCCommunication.h

@@ -29,10 +29,6 @@
 @class AFURLSessionManager;
 @class AFSecurityPolicy;
 @class OCCapabilities;
-@class OCNotifications;
-@class OCRichObjectStrings;
-@class OCNotificationsAction;
-
 
 @interface OCCommunication : NSObject
 

+ 0 - 1
iOSClient/AppDelegate.h

@@ -25,7 +25,6 @@
 #import <CoreData/CoreData.h>
 #import <MagicalRecord/MagicalRecord.h>
 
-#import "OCCapabilities.h"
 #import "BKPasscodeLockScreenManager.h"
 #import "REMenu.h"
 #import "LMMediaPlayerView.h"

+ 0 - 1
iOSClient/AppDelegate.m

@@ -24,7 +24,6 @@
 #import "AppDelegate.h"
 
 #import "iRate.h"
-#import "OCFrameworkConstants.h"
 #import "AFURLSessionManager.h"
 #import "JBroken.h"
 #import "CCNetworking.h"

+ 2 - 2
iOSClient/Main/CCMain.m

@@ -1014,10 +1014,10 @@
 {
     app.listOfNotifications = [[NSArray alloc] initWithArray:listOfNotifications];
     
-    for (OCNotifications *notification in listOfNotifications) {
+    //for (OCNotifications *notification in listOfNotifications) {
                 
         //[app messageNotification:@"Notication" description:notification.subject visible:YES delay:dismissAfterSecond type:TWMessageBarMessageTypeError];
-    }
+    //}
 }
 
 - (void)getNotificationsOfServerFailure:(CCMetadataNet *)metadataNet message:(NSString *)message errorCode:(NSInteger)errorCode

+ 3 - 3
iOSClient/Networking/CCNetworking.h

@@ -23,11 +23,11 @@
 
 #import <Foundation/Foundation.h>
 #import <Photos/Photos.h>
+#import <OCCommunicationLib/OCCommunication.h>
+#import <OCCommunicationLib/OCFrameworkConstants.h>
+//#import <OCCommunicationLib/OCNotifications.h>
 
 #import "AFURLSessionManager.h"
-#import "OCCommunication.h"
-#import "OCFrameworkConstants.h"
-#import "OCErrorMsg.h"
 #import "TWMessageBarManager.h"
 #import "PHAsset+Utility.h"
 #import "CCCoreData.h"

+ 2 - 4
iOSClient/Networking/OCNetworking.h

@@ -25,15 +25,13 @@
 
 #import "AFURLSessionManager.h"
 #import "TWMessageBarManager.h"
-#import "OCCapabilities.h"
-#import "OCFileDto.h"
-#import "OCFrameworkConstants.h"
-#import "OCSharedDto.h"
 #import "CCNetworking.h"
 #import "CCMetadata.h"
 #import "CCError.h"
 #import "CCCoreData.h"
 
+
+
 @protocol OCNetworkingDelegate;
 
 @interface OCnetworking : NSOperation <CCNetworkingDelegate>

+ 0 - 1
iOSClient/Nextcloud-Bridging-Header.h

@@ -4,4 +4,3 @@
 
 #import "AHKActionSheet.h"
 #import "AppDelegate.h"
-