mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
81dc8ce708
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
18 lines
459 B
Swift
18 lines
459 B
Swift
//
|
|
// FPUIExtensionCommunicationProtocol.swift
|
|
// FileProviderExt
|
|
//
|
|
// Created by Claudio Cambra on 21/2/24.
|
|
//
|
|
|
|
import FileProvider
|
|
import NextcloudKit
|
|
|
|
let fpUiExtensionServiceName = NSFileProviderServiceName(
|
|
"com.nextcloud.desktopclient.FPUIExtensionService"
|
|
)
|
|
|
|
@objc protocol FPUIExtensionService {
|
|
func shares(forItemIdentifier itemIdentifier: NSFileProviderItemIdentifier) async -> [NKShare]?
|
|
func credentials() async -> NSDictionary
|
|
}
|