VirtualBox

Changeset 11083 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Aug 3, 2008 9:14:53 PM (16 years ago)
Author:
vboxsync
Message:

HostServices/GuestProperties, Main: implemented saving guest properties to machine XML, added support for timestamps and did some renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd

    r10693 r11083  
    687687</xsd:complexType>
    688688
     689<xsd:complexType name="TGuestProperty">
     690  <xsd:attribute name="name"      type="xsd:string"       use="required"/>
     691  <xsd:attribute name="value"     type="xsd:string"       use="required"/>
     692  <xsd:attribute name="timestamp" type="xsd:unsignedLong" default="0"/>
     693  <xsd:attribute name="flags"     type="xsd:string"       default=""/>
     694</xsd:complexType>
     695
     696<xsd:complexType name="TGuestProperties">
     697  <xsd:sequence>
     698    <xsd:element name="GuestProperty" type="TGuestProperty" minOccurs="0" maxOccurs="unbounded"/>
     699  </xsd:sequence>
     700</xsd:complexType>
     701
    689702<xsd:complexType name="THardware">
    690703  <xsd:all>
     
    731744    <xsd:element name="Clipboard" type="TClipboard"/>
    732745    <xsd:element name="Guest" type="TGuest"/>
     746    <xsd:element name="GuestProperties" type="TGuestProperties" minOccurs="0">
     747      <xsd:unique name="THardware-GuestProperties-GuestProperty">
     748        <xsd:selector xpath="vb:GuestProperty"/>
     749        <xsd:field xpath="@name"/>
     750      </xsd:unique>
     751    </xsd:element>
    733752  </xsd:all>
    734753</xsd:complexType>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette