VirtualBox

source: vbox/trunk/src/VBox/Main/xml/VirtualBox-settings-linux.xsd@ 7449

Last change on this file since 7449 was 7442, checked in by vboxsync, 17 years ago

Main: Applied SATA changes from #2406. Increased XML settings version format from 1.2 to 1.3.pre.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * :tabSize=2:indentSize=2:noTabs=true:
4 * :folding=explicit:collapseFolds=1:
5 *
6 * innotek VirtualBox Settings Schema Version 1.0-linux
7
8 Copyright (C) 2004-2007 innotek GmbH
9
10 This file is part of VirtualBox Open Source Edition (OSE), as
11 available from http://www.virtualbox.org. This file is free software;
12 you can redistribute it and/or modify it under the terms of the GNU
13 General Public License (GPL) as published by the Free Software
14 Foundation, in version 2 as it comes in the "COPYING" file of the
15 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17-->
18
19<xsd:schema
20 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
21 xmlns="http://www.innotek.de/VirtualBox-settings"
22 xmlns:vb="http://www.innotek.de/VirtualBox-settings"
23 targetNamespace="http://www.innotek.de/VirtualBox-settings"
24 elementFormDefault="qualified"
25>
26
27<xsd:annotation>
28 <xsd:documentation xml:lang="en">
29 innotek VirtualBox Settings Schema (linux).
30 Copyright (c) 2004-2008 innotek GmbH.
31 </xsd:documentation>
32</xsd:annotation>
33
34<xsd:include schemaLocation="VirtualBox-settings-common.xsd"/>
35
36<!--
37 this includes a computed VirtualBox element definition that contains
38 a proper 'version' attribute constraint (e.g. recent verison number
39 and platform suffix)
40-->
41<xsd:include schemaLocation="VirtualBox-settings-root.xsd"/>
42
43<!--
44// Simple types
45/////////////////////////////////////////////////////////////////////////
46-->
47
48<!--
49// Complex types
50/////////////////////////////////////////////////////////////////////////
51-->
52
53<xsd:complexType name="TMemory">
54 <xsd:attribute name="RAMSize" use="required">
55 <xsd:simpleType>
56 <xsd:restriction base="xsd:unsignedInt">
57 <xsd:minInclusive value="4"/>
58 <xsd:maxInclusive value="2000"/>
59 </xsd:restriction>
60 </xsd:simpleType>
61 </xsd:attribute>
62</xsd:complexType>
63
64<xsd:complexType name="TNetwork">
65 <xsd:sequence>
66 <xsd:element name="Adapter" minOccurs="0" maxOccurs="unbounded">
67 <xsd:complexType>
68 <xsd:complexContent>
69 <xsd:extension base="TNetworkAdapter">
70 <xsd:choice minOccurs="0">
71 <xsd:element name="NAT">
72 <xsd:complexType/>
73 </xsd:element>
74 <xsd:element name="HostInterface">
75 <xsd:complexType>
76 <xsd:attribute name="name" type="TLocalFile"/>
77 <xsd:attribute name="TAPSetup" type="TLocalFile"/>
78 <xsd:attribute name="TAPTerminate" type="TLocalFile"/>
79 </xsd:complexType>
80 </xsd:element>
81 <xsd:element name="InternalNetwork">
82 <xsd:complexType>
83 <xsd:attribute name="name" type="xsd:string" use="required"/>
84 </xsd:complexType>
85 </xsd:element>
86 </xsd:choice>
87 </xsd:extension>
88 </xsd:complexContent>
89 </xsd:complexType>
90 </xsd:element>
91 </xsd:sequence>
92</xsd:complexType>
93
94<xsd:complexType name="TAudioAdapter">
95 <xsd:complexContent>
96 <xsd:extension base="TAudioAdapterBase">
97 <xsd:attribute name="driver" use="required">
98 <!--- @todo (dmik) capitalize enum values on next format change! -->
99 <xsd:simpleType>
100 <xsd:restriction base="xsd:token">
101 <xsd:enumeration value="null"/>
102 <xsd:enumeration value="oss"/>
103 <xsd:enumeration value="alsa"/>
104 <xsd:enumeration value="pulse"/>
105 </xsd:restriction>
106 </xsd:simpleType>
107 </xsd:attribute>
108 </xsd:extension>
109 </xsd:complexContent>
110</xsd:complexType>
111
112</xsd:schema>
Note: See TracBrowser for help on using the repository browser.

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