12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- import Foundation
- import NextcloudKit
- import UIKit
- import Parchment
- class NCApplicationHandle: NSObject {
- let appDelegate = (UIApplication.shared.delegate as? AppDelegate)!
-
-
- func nextcloudPushNotificationAction(data: [String: AnyObject], completion: @escaping (_ detected: Bool) -> Void) {
- completion(false)
- }
-
-
- func applicationOpenUserActivity(_ userActivity: NSUserActivity) -> Bool {
- return false
- }
-
-
- func applicationOpenURL(_ url: URL) -> Bool {
- return false
- }
-
-
- func downloadedFile(selector: String, metadata: tableMetadata) {
- }
-
-
- func addCollectionViewCommonMenu(metadata: tableMetadata, imageIcon: UIImage?, actions: inout [NCMenuAction]) {
- }
-
-
- func loadItems(functionMenu: inout [NKExternalSite]) {
- }
-
-
- func didSelectItem(_ item: NKExternalSite, viewController: UIViewController) {
- }
-
-
- func pagingViewController(_: PagingViewController, viewControllerAt index: Int, metadata: tableMetadata, topHeight: CGFloat) -> UIViewController {
- return UIViewController()
- }
-
-
- func pagingViewController(_: PagingViewController, pagingItemAt index: Int) -> PagingItem {
- return PagingIndexItem(index: index, title: "")
- }
-
- func filterPages(pages: [NCBrandOptions.NCInfoPagingTab], page: NCBrandOptions.NCInfoPagingTab, metadata: tableMetadata) -> ([NCBrandOptions.NCInfoPagingTab], NCBrandOptions.NCInfoPagingTab) {
- return (pages, page)
- }
-
- func didSelectNotification(_ notification: NKNotifications, viewController: UIViewController) {
- }
- }
|