mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
26 lines
968 B
Objective-C
26 lines
968 B
Objective-C
/*
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef ClientCommunicationProtocol_h
|
|
#define ClientCommunicationProtocol_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@protocol ClientCommunicationProtocol
|
|
|
|
- (void)getExtensionAccountIdWithCompletionHandler:(void(^)(NSString *extensionAccountId, NSError *error))completionHandler;
|
|
- (void)configureAccountWithUser:(NSString *)user
|
|
userId:(NSString *)userId
|
|
serverUrl:(NSString *)serverUrl
|
|
password:(NSString *)password;
|
|
- (void)removeAccountConfig;
|
|
- (void)createDebugLogStringWithCompletionHandler:(void(^)(NSString *debugLogString, NSError *error))completionHandler;
|
|
- (void)getFastEnumerationStateWithCompletionHandler:(void(^)(BOOL enabled, BOOL set))completionHandler;
|
|
- (void)setFastEnumerationEnabled:(BOOL)enabled;
|
|
|
|
@end
|
|
|
|
#endif /* ClientCommunicationProtocol_h */
|