Changeset 19152 in vbox for trunk/include/VBox/GuestHost
- Timestamp:
- Apr 23, 2009 9:23:45 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard.h ¶
r19027 r19152 37 37 enum { 38 38 /** The number of milliseconds before the clipboard times out. */ 39 CLIPBOARD TIMEOUT = 500039 CLIPBOARD_TIMEOUT = 5000 40 40 }; 41 41 … … 47 47 struct _VBOXCLIPBOARDCONTEXTX11; 48 48 typedef struct _VBOXCLIPBOARDCONTEXTX11 VBOXCLIPBOARDCONTEXTX11; 49 50 /** Does X11 or VBox currently own the clipboard? */51 /** @todo This is ugly, get rid of it. */52 enum g_eOwner { NONE = 0, X11, VB };53 49 54 50 /** A structure containing information about where to store a request … … 65 61 * during a request for the clipboard contents) */ 66 62 uint32_t *pcbActual; 63 /** The format VBox would like the data in */ 64 uint32_t format; 67 65 /** Return code for the request processing code */ 68 66 int rc; 67 /** Semaphore which is signalled when the request is completed */ 68 RTSEMEVENT finished; 69 69 /** The clipboard context this request is associated with */ 70 70 VBOXCLIPBOARDCONTEXTX11 *pCtx; … … 77 77 (VBOXCLIPBOARDCONTEXT *pFrontend); 78 78 extern void VBoxX11ClipboardDestructX11(VBOXCLIPBOARDCONTEXTX11 *pBackend); 79 extern int VBoxX11ClipboardStartX11(VBOXCLIPBOARDCONTEXTX11 *pBackend, 80 bool fOwnsClipboard); 79 extern int VBoxX11ClipboardStartX11(VBOXCLIPBOARDCONTEXTX11 *pBackend); 81 80 extern int VBoxX11ClipboardStopX11(VBOXCLIPBOARDCONTEXTX11 *pBackend); 82 extern void VBoxX11ClipboardRequestSyncX11(VBOXCLIPBOARDCONTEXTX11 *pBackend);83 81 extern void VBoxX11ClipboardAnnounceVBoxFormat(VBOXCLIPBOARDCONTEXTX11 84 82 *pBackend, uint32_t u32Formats); 85 83 extern int VBoxX11ClipboardReadX11Data(VBOXCLIPBOARDCONTEXTX11 *pBackend, 86 84 uint32_t u32Format, 87 VBOXCLIPBOARDREQUEST *pRequest); 85 void *pv, uint32_t cb, 86 uint32_t *pcbActual); 88 87 89 88 /* APIs exported by the X11/VBox frontend */
Note:
See TracChangeset
for help on using the changeset viewer.