Skip to content

Commit 0434ea2

Browse files
committed
VBoxClient: Moved the three prototypes in clipboard-x11.h into clipboard.h, and eliminated the unnecessary header file. It wasn't even included by the clipboard-x11.cpp that implemented the three functions. bugref:10194
svn:sync-xref-src-repo-rev: r174585
1 parent 4e6a9a5 commit 0434ea2

3 files changed

Lines changed: 7 additions & 41 deletions

File tree

src/VBox/Additions/x11/VBoxClient/clipboard-x11.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/VBox/Additions/x11/VBoxClient/clipboard.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: clipboard.cpp 114744 2026-07-21 18:37:21Z knut.osmundsen@oracle.com $ */
1+
/* $Id: clipboard.cpp 114748 2026-07-21 20:16:49Z knut.osmundsen@oracle.com $ */
22
/** @file
33
* Guest Additions - Common Shared Clipboard wrapper service.
44
*/
@@ -49,7 +49,6 @@
4949
#include "VBoxClient.h"
5050

5151
#include "clipboard.h"
52-
#include "clipboard-x11.h"
5352

5453

5554
/** Shared Clipboard context.

src/VBox/Additions/x11/VBoxClient/clipboard.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: clipboard.h 114744 2026-07-21 18:37:21Z knut.osmundsen@oracle.com $ */
1+
/* $Id: clipboard.h 114748 2026-07-21 20:16:49Z knut.osmundsen@oracle.com $ */
22
/** @file
33
* Guest Additions - X11 Shared Clipboard - Main header.
44
*/
@@ -108,6 +108,11 @@ int VBClClipboardSerializeCache(SHCLCACHE const *pCache, SHCLFORMATS fFormat
108108
int VBClClipboardDeserializeCache(struct RTHANDLE const *pHandleSrc, PSHCLCACHE pCache, SHCLFORMATS *pfFormats,
109109
RTMSINTERVAL cMsTimeout);
110110

111+
/* clipboard-x11.cpp */
112+
int VBClX11ClipboardInit(void);
113+
int VBClX11ClipboardDestroy(void);
114+
int VBClX11ClipboardMain(void);
115+
111116
/* clipboard-wayland.cpp */
112117
int VBClClipboardWaylandInit(SHCLCONTEXT *pCtx);
113118
int VBClClipboardWaylandMain(SHCLCONTEXT *pCtx, bool volatile *pfShutdown);

0 commit comments

Comments
 (0)