Changeset 2519 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 7, 2007 6:35:01 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20951
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r2333 r2519 344 344 " [-vrdpport default|<port>]\n" 345 345 " [-vrdpaddress <host>]\n" 346 " [-vrdpauthtype null|external|guest]\n"); 346 " [-vrdpauthtype null|external|guest]\n" 347 " [-vrdpmulticon on|off]\n"); 347 348 } 348 349 RTPrintf(" [-usb on|off]\n" … … 2705 2706 char *vrdpaddress = NULL; 2706 2707 char *vrdpauthtype = NULL; 2708 char *vrdpmulticon = NULL; 2707 2709 #endif 2708 2710 int fUsbEnabled = -1; … … 3122 3124 i++; 3123 3125 vrdpauthtype = argv[i]; 3126 } 3127 else if (strcmp(argv[i], "-vrdpmulticon") == 0) 3128 { 3129 if (argc <= i + 1) 3130 { 3131 return errorArgument("Missing argument to '%s'", argv[i]); 3132 } 3133 i++; 3134 vrdpmulticon = argv[i]; 3124 3135 } 3125 3136 #endif /* VBOX_VRDP */ … … 3866 3877 break; 3867 3878 #ifdef VBOX_VRDP 3868 if (vrdp || (vrdpport != UINT16_MAX) || vrdpaddress || vrdpauthtype )3879 if (vrdp || (vrdpport != UINT16_MAX) || vrdpaddress || vrdpauthtype || vrdpmulticon) 3869 3880 { 3870 3881 ComPtr<IVRDPServer> vrdpServer; … … 3915 3926 { 3916 3927 errorArgument("Invalid -vrdpauthtype argument '%s'", vrdpauthtype); 3928 rc = E_FAIL; 3929 break; 3930 } 3931 } 3932 if (vrdpmulticon) 3933 { 3934 if (strcmp(vrdpmulticon, "on") == 0) 3935 { 3936 CHECK_ERROR(vrdpServer, COMSETTER(AllowMultiConnection)(true)); 3937 } 3938 else if (strcmp(vrdpmulticon, "off") == 0) 3939 { 3940 CHECK_ERROR(vrdpServer, COMSETTER(AllowMultiConnection)(false)); 3941 } 3942 else 3943 { 3944 errorArgument("Invalid -vrdpmulticon argument '%s'", vrdpmulticon); 3917 3945 rc = E_FAIL; 3918 3946 break;
Note:
See TracChangeset
for help on using the changeset viewer.