Changeset 22214 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 12, 2009 6:17:31 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r22173 r22214 1914 1914 if (FAILED(hrc = virtualBox->GetExtraDataKeys(ComSafeArrayAsOutParam(aGlobalExtraDataKeys)))) 1915 1915 AssertMsgFailed(("VirtualBox::GetExtraDataKeys failed with %Rrc\n", hrc)); 1916 1917 // remember the no. of global values so we can call the correct method below 1916 1918 size_t cGlobalValues = aGlobalExtraDataKeys.size(); 1919 1917 1920 if (FAILED(hrc = pMachine->GetExtraDataKeys(ComSafeArrayAsOutParam(aMachineExtraDataKeys)))) 1918 1921 AssertMsgFailed(("IMachine::GetExtraDataKeys failed with %Rrc\n", hrc)); 1919 1922 1920 // build a combined list , prefix global keys with "G:"...1923 // build a combined list from global keys... 1921 1924 std::list<Utf8Str> llExtraDataKeys; 1922 1925 size_t i; 1923 1926 for (i = 0; i < aGlobalExtraDataKeys.size(); ++i) 1924 1927 llExtraDataKeys.push_back(Utf8Str(aGlobalExtraDataKeys[i])); 1925 // ... and machine keys with "M:" (so we know below which method to call)1928 // ... and machine keys 1926 1929 for (i = 0; i < aMachineExtraDataKeys.size(); ++i) 1927 1930 llExtraDataKeys.push_back(Utf8Str(aMachineExtraDataKeys[i])); 1931 1928 1932 i = 0; 1929 1933 for (std::list<Utf8Str>::const_iterator it = llExtraDataKeys.begin(); … … 2813 2817 } 2814 2818 2815 /* vi: set tabstop=4 shiftwidth=4 expandtab: */ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r22213 r22214 376 376 </const> 377 377 <const name="v1_5" value="7"> 378 <desc> Settings version "1.5", written by VirtualBox 2.1.x.</desc>378 <desc>Legacy settings version, not currently supported.</desc> 379 379 <!-- 2008-09-04: 2.0.0 released 380 380 2008-11-20: settings version 1.5 introduced -
trunk/src/VBox/Main/xml/Settings.cpp
r22213 r22214 272 272 } 273 273 274 /** 275 * Helper to create a string for a GUID. 276 * @param guid 277 * @return 278 */ 274 279 com::Utf8Str ConfigFileBase::makeString(const Guid &guid) 275 280 { … … 398 403 399 404 /** 405 * Creates an <ExtraData> node under the given parent element with 406 * <ExtraDataItem> childern according to the contents of the given 407 * map. 408 * This is in ConfigFileBase because it's used in both MainConfigFile 409 * MachineConfigFile, which both can have extradata. 400 410 * 401 411 * @param elmParent … … 423 433 /** 424 434 * Creates <DeviceFilter> nodes under the given parent element according to 425 * the contents of the given USBDeviceFiltersList. If fHostMode is true, 426 * this means that we're supposed to write filters for the IHost interface 427 * (respect "action", omit "strRemote" and "ulMaskedInterfaces" in 428 * struct USBDeviceFilter). 435 * the contents of the given USBDeviceFiltersList. This is in ConfigFileBase 436 * because it's used in both MainConfigFile (for host filters) and 437 * MachineConfigFile (for machine filters). 438 * 439 * If fHostMode is true, this means that we're supposed to write filters 440 * for the IHost interface (respect "action", omit "strRemote" and 441 * "ulMaskedInterfaces" in struct USBDeviceFilter). 442 * 429 443 * @param elmParent 430 444 * @param ll … … 681 695 * 682 696 * Throws variants of xml::Error for I/O, XML and logical content errors, which 683 * the caller should catch; if this constructor does not throw, then the file has684 * been successfully read.697 * the caller should catch; if this constructor does not throw, then the member 698 * variables contain meaningful values (either from the file or defaults). 685 699 * 686 700 * @param strFilename … … 767 781 768 782 /** 769 * Writes outa single <HardDisk> element for the given Medium structure783 * Creates a single <HardDisk> element for the given Medium structure 770 784 * and recurses to write the child hard disks underneath. Called from 771 785 * MainConfigFile::write(). 786 * 772 787 * @param elmMedium 773 788 * @param m … … 818 833 819 834 /** 820 * Called from the I Machine interface to write out a machine config file. This835 * Called from the IVirtualBox interface to write out VirtualBox.xml. This 821 836 * builds an XML DOM tree and writes it out to disk. 822 837 */ … … 921 936 922 937 /** 938 * Called from MachineConfigFile::readHardware() to network information. 923 939 * @param elmNetwork 924 940 * @param ll … … 1484 1500 * have their own storage controllers sections. 1485 1501 * 1486 * This is only called for settings version 1.7 and above; see readHardDiskAttachments_pre1_7 1502 * This is only called for settings version 1.7 and above; see readHardDiskAttachments_pre1_7() 1487 1503 * for earlier versions. 1488 1504 * … … 1645 1661 1646 1662 /** 1647 * Called from the constructor to actually read in the Machineelement1663 * Called from the constructor to actually read in the <Machine> element 1648 1664 * of a machine config file. 1649 1665 * @param elmMachine … … 1722 1738 * 1723 1739 * Throws variants of xml::Error for I/O, XML and logical content errors, which 1724 * the caller should catch; if this constructor does not throw, then the file has1725 * been successfully read and parsed.1740 * the caller should catch; if this constructor does not throw, then the member 1741 * variables contain meaningful values (either from the file or defaults). 1726 1742 * 1727 1743 * @param strFilename
Note:
See TracChangeset
for help on using the changeset viewer.