From fd7f1ce0fc78d6df014753a76f2832bdfd8ea3cb Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 17 Jul 2024 17:29:38 +0800 Subject: [PATCH] Add file provider socket state struct Signed-off-by: Claudio Cambra --- src/gui/macOS/fileprovidersocketserver.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/macOS/fileprovidersocketserver.h b/src/gui/macOS/fileprovidersocketserver.h index c41544add7..eee0317342 100644 --- a/src/gui/macOS/fileprovidersocketserver.h +++ b/src/gui/macOS/fileprovidersocketserver.h @@ -29,6 +29,11 @@ using FileProviderSocketControllerPtr = QPointer; QString fileProviderSocketPath(); +struct FileProviderSocketState { + bool connected; + SyncResult::Status latestStatus; +} typedef FileProviderSocketState; + /* * Establishes communication between the app and the file provider extension. * This is done via a local socket server.