|
@@ -80,6 +80,8 @@ class NCService: NSObject {
|
|
|
NKCommon.shared.addInternalTypeIdentifier(typeIdentifier: "com.apple.iwork.keynote.key", classFile: NKCommon.typeClassFile.document.rawValue, editor: NCGlobal.shared.editorQuickLook, iconName: NKCommon.typeIconFile.ppt.rawValue, name: "keynote")
|
|
|
}
|
|
|
|
|
|
+ // MARK: -
|
|
|
+
|
|
|
private func requestServerStatus() {
|
|
|
|
|
|
let options = NKRequestOptions(queue: NKCommon.shared.backgroundQueue)
|
|
@@ -99,6 +101,8 @@ class NCService: NSObject {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // MARK: -
|
|
|
+
|
|
|
private func requestUserProfile() {
|
|
|
guard !appDelegate.account.isEmpty else { return }
|
|
|
|
|
@@ -150,6 +154,8 @@ class NCService: NSObject {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // MARK: -
|
|
|
+
|
|
|
private func requestServerCapabilities() {
|
|
|
guard !appDelegate.account.isEmpty else { return }
|
|
|
|
|
@@ -251,6 +257,8 @@ class NCService: NSObject {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // MARK: -
|
|
|
+
|
|
|
private func requestDashboardWidget() {
|
|
|
|
|
|
let options = NKRequestOptions(queue: NKCommon.shared.backgroundQueue)
|
|
@@ -262,6 +270,8 @@ class NCService: NSObject {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // MARK: -
|
|
|
+
|
|
|
@objc func synchronizeOffline(account: String) {
|
|
|
|
|
|
// Synchronize Offline Directory
|