Changeset 82922 in vbox for trunk/src/VBox/GuestHost/SharedClipboard
- Timestamp:
- Jan 30, 2020 11:41:25 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135903
- Location:
- trunk/src/VBox/GuestHost/SharedClipboard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r82908 r82922 131 131 { "LAST", SHCLX11FMT_INVALID, VBOX_SHCL_FMT_NONE }, 132 132 }; 133 134 135 #ifdef TESTCASE 136 # ifdef RT_OS_SOLARIS_10 137 char XtStrings [] = ""; 138 WidgetClassRec* applicationShellWidgetClass; 139 char XtShellStrings [] = ""; 140 int XmbTextPropertyToTextList( 141 Display* /* display */, 142 XTextProperty* /* text_prop */, 143 char*** /* list_return */, 144 int* /* count_return */ 145 ) 146 { 147 return 0; 148 } 149 # else 150 const char XtStrings [] = ""; 151 _WidgetClassRec* applicationShellWidgetClass; 152 const char XtShellStrings [] = ""; 153 # endif /* RT_OS_SOLARIS_10 */ 154 #endif /* TESTCASE */ 133 155 134 156 … … 770 792 } XFixesSelectionNotifyEvent; 771 793 794 #ifndef TESTCASE 772 795 /** 773 796 * Waits until an event arrives and handle it if it is an XFIXES selection … … 776 799 * @param pCtx The X11 clipboard context to use. 777 800 */ 778 void clipPeekEventAndDoXFixesHandling(PSHCLX11CTX pCtx)801 static void clipPeekEventAndDoXFixesHandling(PSHCLX11CTX pCtx) 779 802 { 780 803 union … … 798 821 } 799 822 800 #ifndef TESTCASE801 823 /** 802 824 * The main loop of our X11 event thread. … … 980 1002 } 981 1003 #endif 1004 982 1005 if (RT_SUCCESS(rc)) 983 1006 { … … 994 1017 rc = clipRegisterContext(pCtx); 995 1018 } 1019 996 1020 if (RT_SUCCESS(rc)) 997 1021 { -
trunk/src/VBox/GuestHost/SharedClipboard/testcases/Makefile.kmk
r82912 r82922 33 33 ../clipboard-x11.cpp \ 34 34 ../clipboard-common.cpp 35 tstClipboardGH-X11_LIBPATH = $(VBOX_LIBPATH_X11)36 tstClipboardGH-X11_LIBS = Xt37 35 tstClipboardGH-X11_CLEAN = $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run 38 36 -
trunk/src/VBox/GuestHost/SharedClipboard/testcases/tstClipboardGH-X11.cpp
r82906 r82922 455 455 *ppReq = g_tst_pCompletedReq; 456 456 } 457 #ifdef RT_OS_SOLARIS_10458 char XtStrings [] = "";459 _WidgetClassRec* applicationShellWidgetClass;460 char XtShellStrings [] = "";461 int XmbTextPropertyToTextList(462 Display* /* display */,463 XTextProperty* /* text_prop */,464 char*** /* list_return */,465 int* /* count_return */466 )467 {468 return 0;469 }470 #else471 const char XtStrings [] = "";472 _WidgetClassRec* applicationShellWidgetClass;473 const char XtShellStrings [] = "";474 #endif475 457 476 458 static void tstStringFromX11(RTTEST hTest, PSHCLX11CTX pCtx,
Note:
See TracChangeset
for help on using the changeset viewer.