Add ClientCommunicationProtocol

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-11-21 15:56:34 +08:00
Родитель a2d69fcf7c
Коммит e763a9d29b
2 изменённых файлов: 29 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,27 @@
/*
* Copyright (C) 2023 by Claudio Cambra <claudio.cambra@nextcloud.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
#ifndef ClientCommunicationProtocol_h
#define ClientCommunicationProtocol_h
@protocol ClientCommunicationProtocol
- (void)configureAccountWithUser:(NSString *)user
serverUrl:(NSString *)serverUrl
password:(NSString *)password;
- (void)removeAccountConfig;
@end
#endif /* ClientCommunicationProtocol_h */

Просмотреть файл

@ -148,6 +148,7 @@
5318AD9829BF58D000CBB71C /* NKError+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NKError+Extensions.swift"; sourceTree = "<group>"; };
5350E4E02B0C459600F276CB /* ClientCommunicationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ClientCommunicationService.h; sourceTree = "<group>"; };
5350E4E12B0C459600F276CB /* ClientCommunicationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ClientCommunicationService.m; sourceTree = "<group>"; };
5350E4E72B0C514400F276CB /* ClientCommunicationProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ClientCommunicationProtocol.h; sourceTree = "<group>"; };
5352B36529DC14970011CE03 /* NextcloudFilesDatabaseManager+Directories.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NextcloudFilesDatabaseManager+Directories.swift"; sourceTree = "<group>"; };
5352B36729DC17D60011CE03 /* NextcloudFilesDatabaseManager+LocalFiles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NextcloudFilesDatabaseManager+LocalFiles.swift"; sourceTree = "<group>"; };
5352B36B29DC44B50011CE03 /* FileProviderExtension+Thumbnailing.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FileProviderExtension+Thumbnailing.swift"; sourceTree = "<group>"; };
@ -246,6 +247,7 @@
children = (
5350E4E02B0C459600F276CB /* ClientCommunicationService.h */,
5350E4E12B0C459600F276CB /* ClientCommunicationService.m */,
5350E4E72B0C514400F276CB /* ClientCommunicationProtocol.h */,
);
path = Services;
sourceTree = "<group>";