Changeset 42838 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
- Timestamp:
- Aug 16, 2012 9:21:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r42551 r42838 38 38 #include <iprt/getopt.h> 39 39 #include <VBox/log.h> 40 40 #include <iprt/log.h> 41 41 #include "VBoxManage.h" 42 42 43 43 #ifndef VBOX_ONLY_DOCS 44 44 using namespace com; 45 46 45 #define LOG_GROUP LOG_GROUP_MAIN 47 46 /** @todo refine this after HDD changes; MSC 8.0/64 has trouble with handleModifyVM. */ 48 47 #if defined(_MSC_VER) … … 192 191 MODIFYVM_USBCARDREADER, 193 192 #endif 194 MODIFYVM_CHIPSET 193 MODIFYVM_CHIPSET, 194 #ifdef VBOX_WITH_VPX 195 MODIFYVM_VCP, 196 MODIFYVM_VCP_FILENAME, 197 MODIFYVM_VCP_WIDTH, 198 MODIFYVM_VCP_HEIGHT 199 #endif 195 200 }; 196 201 … … 329 334 { "--faulttolerancesyncinterval", MODIFYVM_FAULT_TOLERANCE_SYNC_INTERVAL, RTGETOPT_REQ_UINT32 }, 330 335 { "--chipset", MODIFYVM_CHIPSET, RTGETOPT_REQ_STRING }, 336 #ifdef VBOX_WITH_VPX 337 { "--videocapture", MODIFYVM_VCP , RTGETOPT_REQ_BOOL_ONOFF }, 338 { "--vcpfilename", MODIFYVM_VCP_FILENAME, RTGETOPT_REQ_STRING }, 339 { "--vcpwidth", MODIFYVM_VCP_WIDTH, RTGETOPT_REQ_UINT32 }, 340 { "--vcpheight", MODIFYVM_VCP_HEIGHT, RTGETOPT_REQ_UINT32 }, 341 #endif 331 342 { "--autostart-enabled", MODIFYVM_AUTOSTART_ENABLED, RTGETOPT_REQ_BOOL_ONOFF }, 332 343 { "--autostart-delay", MODIFYVM_AUTOSTART_DELAY, RTGETOPT_REQ_UINT32 }, … … 467 478 case MODIFYVM_VRAM: 468 479 { 480 LogFlow(("Modify VRANM\n")); 469 481 CHECK_ERROR(machine, COMSETTER(VRAMSize)(ValueUnion.u32)); 470 482 break; … … 2395 2407 break; 2396 2408 } 2409 #ifdef VBOX_WITH_VPX 2410 case MODIFYVM_VCP: 2411 { 2412 CHECK_ERROR(machine, COMSETTER(VideoCaptureEnabled)(ValueUnion.f)); 2413 break; 2414 } 2415 case MODIFYVM_VCP_FILENAME: 2416 { 2417 //CHECK_ERROR(machine, COMSETTER(VideoRecFilename)(ValueUnion.psz)); 2418 break; 2419 } 2420 case MODIFYVM_VCP_WIDTH: 2421 { 2422 CHECK_ERROR(machine, COMSETTER(VideoCaptureWidth)(ValueUnion.u32)); 2423 break; 2424 } 2425 case MODIFYVM_VCP_HEIGHT: 2426 { 2427 CHECK_ERROR(machine, COMSETTER(VideoCaptureHeight)(ValueUnion.u32)); 2428 break; 2429 } 2430 #endif 2397 2431 case MODIFYVM_AUTOSTART_ENABLED: 2398 2432 {
Note:
See TracChangeset
for help on using the changeset viewer.