Changeset 32712 in vbox for trunk/src/VBox
- Timestamp:
- Sep 23, 2010 12:16:51 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r29555 r32712 25 25 VBoxManage_SOURCES = \ 26 26 VBoxManage.cpp \ 27 VBoxManageHelp.cpp 27 VBoxManageHelp.cpp \ 28 $(if $(VBOX_WITH_GUEST_PROPS),VBoxManageGuestProp.cpp) \ 29 $(if $(VBOX_WITH_GUEST_CONTROL),VBoxManageGuestCtrl.cpp) 28 30 VBoxManage_LIBS += $(LIB_RUNTIME) 29 31 else # !VBOX_ONLY_DOCS 30 32 VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE 31 VBoxManage_DEFS += \32 $(if $(VBOX_WITH_VBOXSDL), VBOX_WITH_VBOXSDL) \33 $(if $(VBOX_WITH_VRDP), VBOX_WITH_VRDP) \34 $(if $(VBOX_WITH_HEADLESS), VBOX_WITH_HEADLESS) \35 $(if $(VBOX_WITH_ALSA), VBOX_WITH_ALSA) \36 $(if $(VBOX_WITH_SOLARIS_OSS), VBOX_WITH_SOLARIS_OSS) \37 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \38 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \39 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \40 $(if $(VBOX_WITH_AHCI), VBOX_WITH_AHCI) \41 $(if $(VBOX_WITH_SCSI), VBOX_WITH_SCSI) \42 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS) \43 $(if $(VBOX_WITH_GUEST_CONTROL),VBOX_WITH_GUEST_CONTROL) \44 $(if $(VBOX_WITH_HOSTNETIF_API), VBOX_WITH_HOSTNETIF_API) \45 $(if $(VBOX_WITH_VDE), VBOX_WITH_VDE) \46 $(if $(VBOX_WITH_HGCM), VBOX_WITH_HGCM)47 33 VBoxManage_DEFS.win = _WIN32_WINNT=0x0500 48 34 ifdef VBOX_DYNAMIC_NET_ATTACH … … 75 61 VBoxManageUSB.cpp 76 62 endif # !VBOX_ONLY_DOCS 63 64 VBoxManage_DEFS += \ 65 $(if $(VBOX_WITH_VBOXSDL), VBOX_WITH_VBOXSDL) \ 66 $(if $(VBOX_WITH_VRDP), VBOX_WITH_VRDP) \ 67 $(if $(VBOX_WITH_HEADLESS), VBOX_WITH_HEADLESS) \ 68 $(if $(VBOX_WITH_ALSA), VBOX_WITH_ALSA) \ 69 $(if $(VBOX_WITH_SOLARIS_OSS), VBOX_WITH_SOLARIS_OSS) \ 70 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \ 71 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \ 72 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \ 73 $(if $(VBOX_WITH_AHCI), VBOX_WITH_AHCI) \ 74 $(if $(VBOX_WITH_SCSI), VBOX_WITH_SCSI) \ 75 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS) \ 76 $(if $(VBOX_WITH_GUEST_CONTROL),VBOX_WITH_GUEST_CONTROL) \ 77 $(if $(VBOX_WITH_HOSTNETIF_API), VBOX_WITH_HOSTNETIF_API) \ 78 $(if $(VBOX_WITH_VDE), VBOX_WITH_VDE) \ 79 $(if $(VBOX_WITH_HGCM), VBOX_WITH_HGCM) 80 77 81 ifneq ($(KBUILD_TARGET),win) 78 82 # Workaround for buggy gcc-4.3 compilers, see -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r32709 r32712 167 167 168 168 /* VBoxManageGuestProp.cpp */ 169 extern void usageGuestProperty(void); 170 #ifndef VBOX_ONLY_DOCS 169 extern void usageGuestProperty(PRTSTREAM pStrm); 170 171 /* VBoxManageGuestCtrl.cpp */ 172 extern void usageGuestControl(PRTSTREAM pStrm); 173 174 #ifndef VBOX_ONLY_DOCS 175 /* VBoxManageGuestProp.cpp */ 171 176 extern int handleGuestProperty(HandlerArg *a); 172 177 173 178 /* VBoxManageGuestCtrl.cpp */ 174 179 extern int handleGuestControl(HandlerArg *a); 175 extern void usageGuestControl(void);176 180 177 181 /* VBoxManageVMInfo.cpp */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r32701 r32712 22 22 #include "VBoxManage.h" 23 23 24 #ifndef VBOX_ONLY_DOCS 25 24 26 #include <VBox/com/com.h> 25 27 #include <VBox/com/string.h> … … 63 65 static volatile bool g_fExecCanceled = false; 64 66 65 void usageGuestControl(void) 67 #endif /* VBOX_ONLY_DOCS */ 68 69 void usageGuestControl(PRTSTREAM pStrm) 66 70 { 67 RTStrmPrintf( g_pStdErr,71 RTStrmPrintf(pStrm, 68 72 "VBoxManage guestcontrol execute <vmname>|<uuid>\n" 69 73 " <path to program>\n" … … 75 79 "\n"); 76 80 } 81 82 #ifndef VBOX_ONLY_DOCS 77 83 78 84 /** … … 539 545 return errorSyntax(USAGE_GUESTCONTROL, "Incorrect parameters"); 540 546 } 547 548 #endif /* !VBOX_ONLY_DOCS */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r32701 r32712 22 22 #include "VBoxManage.h" 23 23 24 #ifndef VBOX_ONLY_DOCS 25 24 26 #include <VBox/com/com.h> 25 27 #include <VBox/com/string.h> … … 49 51 using namespace com; 50 52 51 void usageGuestProperty(void) 52 { 53 RTStrmPrintf(g_pStdErr, 53 #endif /* !VBOX_ONLY_DOCS */ 54 55 void usageGuestProperty(PRTSTREAM pStrm) 56 { 57 RTStrmPrintf(pStrm, 54 58 "VBoxManage guestproperty get <vmname>|<uuid>\n" 55 59 " <property> [--verbose]\n" 56 60 "\n"); 57 RTStrmPrintf( g_pStdErr,61 RTStrmPrintf(pStrm, 58 62 "VBoxManage guestproperty set <vmname>|<uuid>\n" 59 63 " <property> [<value> [--flags <flags>]]\n" 60 64 "\n"); 61 RTStrmPrintf( g_pStdErr,65 RTStrmPrintf(pStrm, 62 66 "VBoxManage guestproperty enumerate <vmname>|<uuid>\n" 63 67 " [--patterns <patterns>]\n" 64 68 "\n"); 65 RTStrmPrintf( g_pStdErr,69 RTStrmPrintf(pStrm, 66 70 "VBoxManage guestproperty wait <vmname>|<uuid> <patterns>\n" 67 71 " [--timeout <msec>] [--fail-on-timeout]\n" 68 72 "\n"); 69 73 } 74 75 #ifndef VBOX_ONLY_DOCS 70 76 71 77 static int handleGetGuestProperty(HandlerArg *a) … … 396 402 return errorSyntax(USAGE_GUESTPROPERTY, "Incorrect parameters"); 397 403 } 404 405 #endif /* !VBOX_ONLY_DOCS */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r32709 r32712 672 672 #ifdef VBOX_WITH_GUEST_PROPS 673 673 if (u64Cmd & USAGE_GUESTPROPERTY) 674 usageGuestProperty( );674 usageGuestProperty(pStrm); 675 675 #endif /* VBOX_WITH_GUEST_PROPS defined */ 676 676 677 677 #ifdef VBOX_WITH_GUEST_CONTROL 678 678 if (u64Cmd & USAGE_GUESTCONTROL) 679 usageGuestControl( );679 usageGuestControl(pStrm); 680 680 #endif /* VBOX_WITH_GUEST_CONTROL defined */ 681 681
Note:
See TracChangeset
for help on using the changeset viewer.