From: Claudio Cambra Date: Wed, 28 Dec 2022 22:19:06 +0000 (+0100) Subject: Clean up public API of LocalSocketClient X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~55^2~310 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8ea09cb9d7e82739f20c99a1a2c558bf66aba3df;p=nextcloud-desktop.git Clean up public API of LocalSocketClient Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.h b/shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.h index ce8ef4ed5..dcecfbd51 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.h +++ b/shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.h @@ -39,18 +39,17 @@ - (instancetype)initWithSocketPath:(NSString*)socketPath lineProcessor:(id)lineProcessor; -- (BOOL)isConnected; + +@property (readonly) BOOL isConnected; + - (void)start; - (void)restart; - (void)closeConnection; -- (NSString*)strErr; + - (void)askOnSocket:(NSString*)path query:(NSString*)verb; - (void)askForIcon:(NSString*)path isDirectory:(BOOL)isDirectory; -- (void)readFromSocket; -- (void)writeToSocket; -- (void)processInBuffer; @end #endif /* LocalSocketClient_h */