mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
21 lines
563 B
Swift
21 lines
563 B
Swift
//
|
|
// FPUIExtensionCommunicationProtocol.swift
|
|
// FileProviderExt
|
|
//
|
|
// SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
//
|
|
|
|
import FileProvider
|
|
import NextcloudKit
|
|
|
|
let fpUiExtensionServiceName = NSFileProviderServiceName(
|
|
"com.nextcloud.desktopclient.FPUIExtensionService"
|
|
)
|
|
|
|
@objc protocol FPUIExtensionService {
|
|
func userAgent() async -> NSString?
|
|
func credentials() async -> NSDictionary
|
|
func itemServerPath(identifier: NSFileProviderItemIdentifier) async -> NSString?
|
|
}
|