SharedClipboard.h revision b4125206636c650121449eb57dc4384de21e00d6
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * Shared Clipboard
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * available from http://www.virtualbox.org. This file is free software;
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * you can redistribute it and/or modify it under the terms of the GNU
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * General Public License (GPL) as published by the Free Software
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * The contents of this file may alternatively be used under the terms
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * of the Common Development and Distribution License Version 1.0
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * VirtualBox OSE distribution, in which case the provisions of the
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * CDDL are applicable instead of those of the GPL.
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * You may elect to license modified versions of this file under the
e5501b5897a4a5958157bed31ee5647cfa770333vboxsync * terms and conditions of either the GPL or the CDDL or both.
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync * additional information or have any questions.
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync /** The number of milliseconds before the clipboard times out. */
3226d4d605c81794a1e11ee873dfbe83e1033c05vboxsync/** Opaque data structure for the X11/VBox frontend/glue code. */
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsynctypedef struct _VBOXCLIPBOARDCONTEXT VBOXCLIPBOARDCONTEXT;
3226d4d605c81794a1e11ee873dfbe83e1033c05vboxsync/** Opaque data structure for the X11/VBox backend code. */
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync/* APIs exported by the X11 backend */
8a0ee4ffcd453884e357b4d5984ae3b7146abb6fvboxsyncextern CLIPBACKEND *ClipConstructX11(VBOXCLIPBOARDCONTEXT *pFrontend);
8a0ee4ffcd453884e357b4d5984ae3b7146abb6fvboxsyncextern void ClipAnnounceFormatToX11(CLIPBACKEND *pBackend,
8a0ee4ffcd453884e357b4d5984ae3b7146abb6fvboxsyncextern int ClipRequestDataFromX11(CLIPBACKEND *pBackend, uint32_t u32Format,
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync/* APIs exported by the X11/VBox frontend */
8a0ee4ffcd453884e357b4d5984ae3b7146abb6fvboxsyncextern int ClipRequestDataForX11(VBOXCLIPBOARDCONTEXT *pCtx,
8a0ee4ffcd453884e357b4d5984ae3b7146abb6fvboxsyncextern void ClipReportX11Formats(VBOXCLIPBOARDCONTEXT *pCtx,
b4125206636c650121449eb57dc4384de21e00d6vboxsyncextern void ClipCompleteDataRequestFromX11(VBOXCLIPBOARDCONTEXT *pCtx, int rc,
b26977a29bd8af11e3059ef8fb47a92a1241f20dvboxsync#endif /* ___GUESTHOST_VBOXCLIPBOARD__H */