Changeset 99586 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- May 3, 2023 3:25:51 PM (19 months ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r99585 r99586 185 185 VBoxClient_SOURCES += \ 186 186 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp 187 endif188 ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE189 VBoxClient_DEFS += VBOX_WITH_SHARED_CLIPBOARD_FUSE190 # @todo Make this dynamic loading more generic.191 VBoxClient_SOURCES += \192 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \193 clipboard-fuse.cpp194 # @todo Ditto.195 VBoxClient_INCS += \196 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount197 187 endif 198 188 endif -
trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
r98474 r99586 33 33 #include <iprt/asm.h> 34 34 #include <iprt/assert.h> 35 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE36 # include <iprt/dir.h>37 #endif38 35 #include <iprt/initterm.h> 39 36 #include <iprt/mem.h> … … 52 49 53 50 #include "clipboard.h" 54 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE55 # include "clipboard-fuse.h"56 #endif57 51 58 52 … … 63 57 /** Only one context is supported at a time for now. */ 64 58 SHCLCONTEXT g_Ctx; 65 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE66 SHCLFUSECTX g_FuseCtx;67 #endif68 59 69 60 … … 371 362 if (RT_SUCCESS(rc)) 372 363 { 373 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE 374 rc = VbClShClFUSEInit(&g_FuseCtx, &g_Ctx); 375 if (RT_SUCCESS(rc)) 376 { 377 rc = VbClShClFUSEStart(&g_FuseCtx); 378 if (RT_SUCCESS(rc)) 379 { 380 #endif 381 /* Let the main thread know that it can continue spawning services. */ 382 RTThreadUserSignal(RTThreadSelf()); 383 384 rc = vboxClipboardMain(); 385 386 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE 387 int rc2 = VbClShClFUSEStop(&g_FuseCtx); 388 if (RT_SUCCESS(rc)) 389 rc = rc2; 390 } 391 } 392 #endif 364 /* Let the main thread know that it can continue spawning services. */ 365 RTThreadUserSignal(RTThreadSelf()); 366 367 rc = vboxClipboardMain(); 393 368 } 394 369
Note:
See TracChangeset
for help on using the changeset viewer.