VirtualBox

source: vbox/trunk/src/VBox/Main/idl/VirtualBox.dtd@ 73768

Last change on this file since 73768 was 66274, checked in by vboxsync, 7 years ago

VBox/Main: ​bugref:3300: VBoxSVC from terminal server session is not 'visible' - added VBoxSDS implementation

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.4 KB
Line 
1<!--
2 Unofficial DTD for the VirtualBox.xidl file. This is not currently used:
3 neither by the VirtualBox build process nor at runtime, so it's not shipped
4 with the product either, and thus not guaranteed to be up to date.
5 It is still the only sort-of-documentation available about what is valid
6 XIDL syntax.
7
8 Copyright (C) 2008-2015 Oracle Corporation
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 <!ELEMENT idl (desc|if|library)*> <!-- done -->
19 <!ELEMENT if ANY> <!-- done -->
20 <!ATTLIST if target (midl|xpidl|wsdl) #REQUIRED>
21 <!ELEMENT cpp ANY> <!-- done -->
22 <!ATTLIST cpp line CDATA #IMPLIED>
23 <!ELEMENT library (application)*> <!-- done -->
24 <!ATTLIST library name CDATA #REQUIRED>
25 <!ATTLIST library uuid CDATA #REQUIRED>
26 <!ATTLIST library version CDATA #REQUIRED>
27 <!ELEMENT application (descGroup|if|result|enum|interface|module)*> <!-- done -->
28 <!ATTLIST application name CDATA #REQUIRED>
29 <!ATTLIST application uuid CDATA #REQUIRED>
30 <!ATTLIST application supportsErrorInfo CDATA #REQUIRED>
31 <!ELEMENT result (#PCDATA|desc|link)*> <!-- done -->
32 <!ATTLIST result name CDATA #REQUIRED>
33 <!ATTLIST result value CDATA #IMPLIED>
34 <!ELEMENT module (class)*> <!-- done -->
35 <!ATTLIST module name CDATA #REQUIRED>
36 <!ATTLIST module context CDATA #REQUIRED>
37 <!ATTLIST module threadingModel CDATA #IMPLIED>
38 <!ELEMENT enum (desc?, const+)> <!-- done -->
39 <!ATTLIST enum name CDATA #REQUIRED>
40 <!ATTLIST enum uuid CDATA #REQUIRED>
41 <!ELEMENT const (desc?)> <!-- done -->
42 <!ATTLIST const name CDATA #REQUIRED>
43 <!ATTLIST const value CDATA #REQUIRED>
44 <!ATTLIST const wsmap (managed|suppress) "managed">
45 <!ELEMENT interface (desc?, (attribute|method|class|if)*)> <!-- done -->
46 <!ATTLIST interface name CDATA #REQUIRED>
47 <!ATTLIST interface extends CDATA #IMPLIED>
48 <!ATTLIST interface uuid CDATA #IMPLIED>
49 <!ATTLIST interface supportsErrorInfo (yes|no) #IMPLIED>
50 <!ATTLIST interface default (yes|no) "no">
51 <!ATTLIST interface internal (yes|no) "no">
52 <!ATTLIST interface wsmap (fail|global|struct|managed|suppress) "fail">
53 <!-- wsmap specifies how this interface is mapped to the
54 web services API (WSDL). One of the following must be specified:
55 fail: the default value, for which vboxweb.xsl will raise an error and die.
56 global: object is a singleton and resides in global variable in the web service.
57 managed: objects of this type are referenced by managed object referenced
58 struct: object is a simple struct and can be copied as such
59 suppress: Skip this interface entirely, and all methods that use it -->
60 <!ATTLIST interface wscpp (generate|hardcoded) "generate">
61 <!-- wscpp specifies whether C++ code should be generated in methodmaps.cpp
62 as a mapper to COM APIs. By default, this is "generate"; however, if set
63 to "hardcoded", then no automatic C++ code should be generated. This is done
64 for webservice APIs that have no counterpart in COM and are hard-coded in
65 the webservice server, such as IManagedObjectReference and ISessionManager. -->
66 <!ATTLIST interface autogen CDATA #IMPLIED>
67 <!-- autogen names the style of code auto-generation for this
68 interface (currently only VBoxEvent). -->
69 <!ATTLIST interface id CDATA #IMPLIED>
70 <!-- id is only relevant for event interfaces, and specifies
71 which const name will be generated. -->
72 <!ATTLIST interface waitable (yes|no) "no">
73 <!-- waitable is only relevant for event interfaces, and
74 specifies that this event can be waited for. -->
75 <!ATTLIST interface wrap-hint-server-addinterfaces CDATA #IMPLIED>
76 <!ATTLIST interface wrap-hint-server CDATA #IMPLIED>
77 <!-- DTrace has a probe name length limit, so dtracename helps dealing with excessivly long names. -->
78 <!ATTLIST interface dtracename CDATA #IMPLIED>
79 <!ATTLIST interface reservedAttributes CDATA #IMPLIED>
80 <!ATTLIST interface reservedMethods CDATA #IMPLIED>
81 <!ELEMENT class (interface)> <!-- done -->
82 <!ATTLIST class name CDATA #REQUIRED>
83 <!ATTLIST class uuid CDATA #REQUIRED>
84 <!ATTLIST class namespace CDATA #REQUIRED>
85 <!ELEMENT attribute (desc?)> <!-- done -->
86 <!ATTLIST attribute name CDATA #REQUIRED>
87 <!ATTLIST attribute type CDATA #REQUIRED>
88 <!ATTLIST attribute default CDATA #IMPLIED>
89 <!ATTLIST attribute readonly (yes|no) "no">
90 <!ATTLIST attribute mod (ptr|string) #IMPLIED>
91 <!ATTLIST attribute internal (yes|no) "no">
92 <!ATTLIST attribute safearray (yes|no) "no">
93 <!ATTLIST attribute wsmap (managed|suppress) "managed">
94 <!ATTLIST attribute wrap-hint-server CDATA #IMPLIED>
95 <!-- DTrace has a probe name length limit, so dtracename helps dealing with excessivly long names. -->
96 <!ATTLIST attribute dtracename CDATA #IMPLIED>
97 <!ELEMENT method (desc?,param*,result*)> <!-- done -->
98 <!ATTLIST method name CDATA #REQUIRED>
99 <!ATTLIST method const CDATA "no">
100 <!ATTLIST method internal (yes|no) "no">
101 <!ATTLIST method wsmap (managed|suppress) "managed">
102 <!ATTLIST method wrap-hint-server CDATA #IMPLIED>
103 <!-- DTrace has a probe name length limit, so dtracename helps dealing with excessivly long names. -->
104 <!ATTLIST method dtracename CDATA #IMPLIED>
105 <!ELEMENT param (desc?)> <!-- done -->
106 <!ATTLIST param name CDATA #REQUIRED>
107 <!ATTLIST param type CDATA #REQUIRED>
108 <!ATTLIST param dir (in|out|return) #REQUIRED>
109 <!ATTLIST param mod (ptr|string) #IMPLIED>
110 <!ATTLIST param safearray (yes|no) "no">
111 <!ELEMENT descGroup (desc)*> <!-- done (ignoring, butt-ugly hack, improper nesting enforced all over the .xsl files!) -->
112 <!ATTLIST descGroup id CDATA #IMPLIED>
113 <!ATTLIST descGroup title CDATA #IMPLIED>
114 <!ELEMENT desc (#PCDATA|link|note|see|b|tt|i|pre|para|ul|ol|h3|table|result)*> <!-- done (ignoring) -->
115 <!-- the following only appear within descriptions -->
116 <!ELEMENT link (#PCDATA)>
117 <!ATTLIST link to CDATA #REQUIRED>
118 <!ELEMENT h3 ANY>
119 <!ELEMENT para ANY>
120 <!ELEMENT b ANY>
121 <!ELEMENT i ANY>
122 <!ELEMENT ul (#PCDATA|li)*>
123 <!ELEMENT ol (#PCDATA|li)*>
124 <!ELEMENT li ANY>
125 <!ELEMENT pre ANY>
126 <!ELEMENT tt ANY>
127 <!ELEMENT see (#PCDATA|link)*>
128 <!ELEMENT note ANY>
129 <!ATTLIST note internal (yes|no) "no">
130 <!ELEMENT table (tr)+>
131 <!ELEMENT tr (td|th)+>
132 <!ELEMENT th ANY>
133 <!ELEMENT td ANY>
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use