Changeset 17079 in vbox
- Timestamp:
- Feb 24, 2009 4:59:51 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r17033 r17079 1816 1816 ComPtr<IMachine> machine; 1817 1817 snapshot->COMGETTER(Machine)(machine.asOutParam()); 1818 showVMInfo(a->virtualBox, machine, console);1818 showVMInfo(a->virtualBox, machine, VMINFO_NONE, console); 1819 1819 } 1820 1820 else … … 3024 3024 handlerArg.argc = argc - iCmdArg; 3025 3025 handlerArg.argv = &argv[iCmdArg]; 3026 3026 3027 rc = commandHandlers[commandIndex].handler(&handlerArg); 3027 3028 break; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r17033 r17079 98 98 int argc; 99 99 char **argv; 100 100 101 #ifdef USE_XPCOM_QUEUE 101 102 nsCOMPtr<nsIEventQueue> eventQ; … … 117 118 VMINFO_STATISTICS = 2, /**< guest statistics */ 118 119 VMINFO_FULL = 3, /**< both */ 119 VMINFO_MACHINEREADABLE = 4 /**< both, and make it machine readable */ 120 VMINFO_MACHINEREADABLE = 4, /**< both, and make it machine readable */ 121 VMINFO_COMPACT = 5 120 122 } VMINFO_DETAILS; 121 123 … … 149 151 void showSnapshots(ComPtr<ISnapshot> rootSnapshot, VMINFO_DETAILS details, const com::Bstr &prefix = "", int level = 0); 150 152 int handleShowVMInfo(HandlerArg *a); 151 HRESULT showVMInfo(ComPtr <IVirtualBox> virtualBox, ComPtr<IMachine> machine, 152 ComPtr <IConsole> console = ComPtr <IConsole> (), 153 VMINFO_DETAILS details = VMINFO_NONE); 153 HRESULT showVMInfo(ComPtr<IVirtualBox> virtualBox, 154 ComPtr<IMachine> machine, 155 VMINFO_DETAILS details = VMINFO_NONE, 156 ComPtr <IConsole> console = ComPtr<IConsole>()); 154 157 155 158 /* VBoxManageList.cpp */
Note:
See TracChangeset
for help on using the changeset viewer.