Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Verbruggen <erik@verbruggen.consulting>2021-10-30 18:21:16 +0300
committerErik Verbruggen <Erik.Verbruggen@Me.com>2021-11-17 15:56:22 +0300
commit7fe14d0e67f83c3a4a6512b9c1c1826b92400fe8 (patch)
tree18f7ee0e488ec75e55ed400ae6d735ebae875849 /src/gui/CMakeLists.txt
parent4c726d7ea557ab7678dafe54d487e8b9a54600f6 (diff)
Clean-ups before switching macOS to local sockets
- introduce the Platform class, which can do RAII style set-up/tear-down - macOS: move Finder integration into the Utility namespace - move retrieve the socket path into the Utility namespace
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r--src/gui/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 714417848..aa30697ff 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -74,6 +74,7 @@ set(client_SRCS
quotainfo.cpp
accountstate.cpp
authenticationdialog.cpp
+ platform.cpp
proxyauthhandler.cpp
proxyauthdialog.cpp
tooltipupdater.cpp
@@ -151,10 +152,10 @@ IF( APPLE )
target_link_libraries(owncloudCore PUBLIC Qt5::MacExtras)
target_sources(owncloudCore PRIVATE
- cocoainitializer_mac.mm
+ platform_mac.mm
systray.mm
settingsdialog_mac.mm
-
+ guiutility_mac.mm
folderwatcher_mac.cpp)
if(SPARKLE_FOUND)
@@ -167,6 +168,8 @@ IF( APPLE )
endif()
elseif( WIN32 )
target_sources(owncloudCore PRIVATE
+ platform_win.cpp
+ guiutility_win.cpp
folderwatcher_win.cpp
navigationpanehelper.cpp)
elseif(UNIX AND NOT APPLE )
@@ -176,7 +179,10 @@ elseif(UNIX AND NOT APPLE )
target_link_libraries(owncloudCore PUBLIC Qt5::DBus)
target_compile_definitions(owncloudCore PUBLIC "USE_FDO_NOTIFICATIONS")
endif()
- target_sources(owncloudCore PRIVATE folderwatcher_linux.cpp)
+ target_sources(owncloudCore PRIVATE
+ folderwatcher_linux.cpp
+ platform_unix.cpp
+ guiutility_unix.cpp)
endif()