VirtualBox

Ignore:
Timestamp:
Apr 2, 2009 12:46:58 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45550
Message:

GuestHost/SharedClipboard: pass pointers instead of using globals whereever possible

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard.h

    r18585 r18633  
    2323#define __VBOXCLIPBOARD__H
    2424
    25 #define LOG_GROUP LOG_GROUP_HGCM
     25#define LOG_GROUP LOG_GROUP_SHARED_CLIPBOARD
    2626#include <VBox/log.h>
    2727
  • trunk/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp

    r18586 r18633  
    2121 */
    2222
    23 /** @todo create a clipboard log group */
    24 #define LOG_GROUP LOG_GROUP_HGCM
    25 
    2623#include <string.h>
    2724
     
    3027#include <iprt/mem.h>
    3128#include <iprt/semaphore.h>
    32 
    33 #include <VBox/log.h>
    3429
    3530#include <VBox/GuestHost/SharedClipboard.h>
     
    309304    request.cb = cb;
    310305    request.pcbActual = pcbActual;
     306    request.pCtx = g_ctxHost.pBackend;
    311307    rc = VBoxX11ClipboardReadX11Data(g_ctxHost.pBackend, u32Format, &request);
    312308    g_ctxHost.waiter = NONE;
Note: See TracChangeset for help on using the changeset viewer.

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