Changeset 23819 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Oct 16, 2009 12:24:52 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r23452 r23819 58 58 seamless-x11.cpp \ 59 59 thread.cpp \ 60 display.cpp 60 display.cpp \ 61 hostversion.cpp 61 62 VBoxClient_LIBS += \ 62 63 Xext Xmu -
trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h
r21922 r23819 46 46 extern Service *GetSeamlessService(); 47 47 extern Service *GetDisplayService(); 48 extern Service *GetHostVersionService(); 48 49 49 50 extern void CleanUp(); -
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r21940 r23819 136 136 RTPrintf("Start the VirtualBox X Window System guest services.\n\n"); 137 137 RTPrintf("Options:\n"); 138 RTPrintf(" --checkhostversion checks for a new VirtualBox host version\n"); 138 139 RTPrintf(" --clipboard start the shared clipboard service\n"); 139 140 RTPrintf(" --display start the display management service\n"); … … 190 191 fSuccess = false; 191 192 } 193 else if (!strcmp(argv[i], "--checkhostversion")) 194 { 195 if (g_pService == NULL) 196 g_pService = VBoxClient::GetHostVersionService(); 197 else 198 fSuccess = false; 199 } 192 200 else if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) 193 201 { … … 235 243 } 236 244 /* Initialise the guest library. */ 237 if (RT_FAILURE(VbglR3InitUser()))245 /* if (RT_FAILURE(VbglR3InitUser())) 238 246 { 239 247 RTPrintf("Failed to connect to the VirtualBox kernel service\n"); 240 248 Log(("Failed to connect to the VirtualBox kernel service\n")); 241 249 return 1; 242 } 250 }*/ 243 251 if (g_pszPidFile && RT_FAILURE(VbglR3PidFile(g_pszPidFile, &g_hPidFile))) 244 252 {
Note:
See TracChangeset
for help on using the changeset viewer.