VirtualBox

Changeset 99586 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
May 3, 2023 3:25:51 PM (19 months ago)
Author:
vboxsync
Message:

Guest Additions/VBoxClient: Removed the code for VBOX_WITH_SHARED_CLIPBOARD_FUSE, as we don't use that approach (anymore). bugref:9437

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r99585 r99586  
    185185   VBoxClient_SOURCES += \
    186186        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
    187   endif
    188   ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
    189    VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_FUSE
    190    # @todo Make this dynamic loading more generic.
    191    VBoxClient_SOURCES += \
    192         $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \
    193         clipboard-fuse.cpp
    194    # @todo Ditto.
    195    VBoxClient_INCS    += \
    196         $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount
    197187  endif
    198188 endif
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r98474 r99586  
    3333#include <iprt/asm.h>
    3434#include <iprt/assert.h>
    35 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
    36 # include <iprt/dir.h>
    37 #endif
    3835#include <iprt/initterm.h>
    3936#include <iprt/mem.h>
     
    5249
    5350#include "clipboard.h"
    54 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
    55 # include "clipboard-fuse.h"
    56 #endif
    5751
    5852
     
    6357/** Only one context is supported at a time for now. */
    6458SHCLCONTEXT g_Ctx;
    65 #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
    66 SHCLFUSECTX g_FuseCtx;
    67 #endif
    6859
    6960
     
    371362    if (RT_SUCCESS(rc))
    372363    {
    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();
    393368    }
    394369
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette