Changeset 39454 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Nov 29, 2011 10:57:46 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75096
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r38152 r39454 51 51 Xrandr \ 52 52 Xt 53 # Xtst 53 54 # These are static replacements for gcc-specific parts of libstdc++ 54 55 VBoxClient_LIBS += \ … … 69 70 ifdef VBOX_WITH_GUEST_PROPS 70 71 VBoxClient_DEFS += VBOX_WITH_GUEST_PROPS 72 endif 73 ifdef VBOX_WITH_DRAG_AND_DROP 74 VBoxClient_DEFS += VBOX_WITH_DRAG_AND_DROP 75 VBoxClient_SOURCES += \ 76 draganddrop.cpp 71 77 endif 72 78 -
trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h
r36529 r39454 43 43 extern Service *GetDisplayService(); 44 44 extern Service *GetHostVersionService(); 45 #ifdef VBOX_WITH_DRAG_AND_DROP 46 extern Service *GetDragAndDropService(); 47 #endif /* VBOX_WITH_DRAG_AND_DROP */ 45 48 46 49 extern void CleanUp(); -
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r38720 r39454 141 141 void vboxClientUsage(const char *pcszFileName) 142 142 { 143 RTPrintf("Usage: %s --clipboard|--display|--checkhostversion|--seamless [-d|--nodaemon]\n", pcszFileName); 143 RTPrintf("Usage: %s --clipboard|" 144 #ifdef VBOX_WITH_DRAG_AND_DROP 145 "--draganddrop|" 146 #endif 147 "--display|" 148 # ifdef VBOX_WITH_GUEST_PROPS 149 "--checkhostversion|" 150 #endif 151 "--seamless [-d|--nodaemon]\n", pcszFileName); 144 152 RTPrintf("Start the VirtualBox X Window System guest services.\n\n"); 145 153 RTPrintf("Options:\n"); 146 154 RTPrintf(" --clipboard start the shared clipboard service\n"); 155 #ifdef VBOX_WITH_DRAG_AND_DROP 156 RTPrintf(" --draganddrop start the drag and drop service\n"); 157 #endif 147 158 RTPrintf(" --display start the display management service\n"); 148 # 159 #ifdef VBOX_WITH_GUEST_PROPS 149 160 RTPrintf(" --checkhostversion start the host version notifier service\n"); 150 # 161 #endif 151 162 RTPrintf(" --seamless start the seamless windows service\n"); 152 163 RTPrintf(" -d, --nodaemon continue running as a system service\n"); … … 219 230 fSuccess = false; 220 231 } 232 #ifdef VBOX_WITH_DRAG_AND_DROP 233 else if (!strcmp(argv[i], "--draganddrop")) 234 { 235 if (g_pService == NULL) 236 g_pService = VBoxClient::GetDragAndDropService(); 237 else 238 fSuccess = false; 239 } 240 #endif /* VBOX_WITH_DRAG_AND_DROP */ 221 241 else if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) 222 242 {
Note:
See TracChangeset
for help on using the changeset viewer.