/* * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef ClientCommunicationProtocol_h #define ClientCommunicationProtocol_h #import @protocol ClientCommunicationProtocol /** * @brief Get the raw file provider domain identifier value. */ - (void)getFileProviderDomainIdentifierWithCompletionHandler:(void(^)(NSString *extensionAccountId, NSError *error))completionHandler; - (void)configureAccountWithUser:(NSString *)user userId:(NSString *)userId serverUrl:(NSString *)serverUrl password:(NSString *)password userAgent:(NSString *)userAgent; - (void)removeAccountConfig; - (void)getTrashDeletionEnabledStateWithCompletionHandler:(void(^)(BOOL enabled, BOOL set))completionHandler; - (void)setTrashDeletionEnabled:(BOOL)enabled; - (void)setIgnoreList:(NSArray *)ignoreList; @end #endif /* ClientCommunicationProtocol_h */