- Timestamp:
- Jan 23, 2009 6:21:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r16205 r16208 160 160 // (one for each VirtualSystem/Item[@ResourceType=17] element with accumulated data from children) 161 161 162 string strLicenceInfo; // license info if any; receives contents of VirtualSystem/EulaSection/Info 163 string strLicenceText; // license info if any; receives contents of VirtualSystem/EulaSection/License 164 162 165 VirtualSystem() 163 166 : ullMemorySize(0), cCPUs(1) … … 333 336 const xml::Node *pFileElem; 334 337 if ( pReferencesElem 335 && ((pFileElem = pReferencesElem->findChildElementFromId(strFileRef.c_str())))336 )338 && ((pFileElem = pReferencesElem->findChildElementFromId(strFileRef.c_str()))) 339 ) 337 340 { 338 341 // copy remaining values from file node then … … 425 428 if (!strcmp(pcszElemName, "EulaSection")) 426 429 { 427 // TODO 430 /* <EulaSection> 431 <Info ovf:msgid="6">License agreement for the Virtual System.</Info> 432 <License ovf:msgid="1">License terms can go in here.</License> 433 </EulaSection> */ 434 435 const xml::Node *pelmInfo, *pelmLicense; 436 if ( ((pelmInfo = pelmThis->findChildElement("Info"))) 437 && ((pelmLicense = pelmThis->findChildElement("License"))) 438 ) 439 { 440 d.strLicenceInfo = pelmInfo->getValue(); 441 d.strLicenceText = pelmLicense->getValue(); 442 } 428 443 } 429 444 else if ( (!strcmp(pcszElemName, "VirtualHardwareSection"))
Note:
See TracChangeset
for help on using the changeset viewer.