From 8ea09cb9d7e82739f20c99a1a2c558bf66aba3df Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 28 Dec 2022 23:19:06 +0100 Subject: [PATCH] Clean up public API of LocalSocketClient Signed-off-by: Claudio Cambra --- .../NCDesktopClientSocketKit/LocalSocketClient.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 */ -- 2.30.2