VirtualBox

Changeset 18708 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 3, 2009 5:55:59 PM (16 years ago)
Author:
vboxsync
Message:

GuestHost/SharedClipboard: reorganise constructor and destructor funcions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard.h

    r18633 r18708  
    4040
    4141/** Does X11 or VBox currently own the clipboard? */
     42/** @todo This is ugly, get rid of it. */
    4243enum g_eOwner { NONE = 0, X11, VB };
    4344
     
    6263
    6364/* APIs exported by the X11 backend */
    64 extern int VBoxX11ClipboardInitX11(VBOXCLIPBOARDCONTEXT *pFrontend,
    65                                    VBOXCLIPBOARDCONTEXTX11 **ppBackend);
    66 extern int VBoxX11ClipboardTermX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);
     65extern VBOXCLIPBOARDCONTEXTX11 *VBoxX11ClipboardConstructX11
     66                                        (VBOXCLIPBOARDCONTEXT *pFrontend);
     67extern void VBoxX11ClipboardDestructX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);
    6768extern int VBoxX11ClipboardStartX11(VBOXCLIPBOARDCONTEXTX11 *pBackend,
    68                                     enum g_eOwner owner);
     69                                    bool fOwnsClipboard);
     70extern int VBoxX11ClipboardStopX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);
    6971extern void VBoxX11ClipboardRequestSyncX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);
    70 extern void VBoxX11ClipboardStopX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);
    7172extern void VBoxX11ClipboardAnnounceVBoxFormat(VBOXCLIPBOARDCONTEXTX11
    7273                                               *pBackend, uint32_t u32Formats);
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