Mercurial > projects > qtd
comparison generator/typesystem_phonon.xml @ 1:e78566595089
initial import
author | mandel |
---|---|
date | Mon, 11 May 2009 16:01:50 +0000 |
parents | |
children | 91ed8edd442e |
comparison
equal
deleted
inserted
replaced
0:36fb74dc547d | 1:e78566595089 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <typesystem package="qt.phonon" default-superclass="qt.QtJambiObject"> | |
3 <inject-code> | |
4 qt.Utilities.loadQtLibrary("QtXml"); | |
5 qt.Utilities.loadQtLibrary("QtGui"); | |
6 qt.Utilities.loadQtLibrary("QtOpenGL"); | |
7 qt.Utilities.loadQtLibrary("phonon"); | |
8 </inject-code> | |
9 | |
10 <rejection class="Phonon::ObjectDescriptionData"/> | |
11 <rejection class="Phonon::ObjectDescriptionModelData"/> | |
12 <rejection class="Phonon::MediaNodeDestructionHandler"/> | |
13 <rejection class="Phonon::GlobalConfig"/> | |
14 <rejection class="Phonon::IODeviceStream"/> | |
15 <rejection class="Phonon::Factory"/> | |
16 <rejection class="Phonon::Experimental"/> | |
17 <rejection class="Phonon::ObjectDescriptionModel"/> | |
18 <rejection class="Phonon::BackendCapabilities::Notifier"/> | |
19 <rejection class="AudioOutputAdaptor"/> | |
20 <rejection class="*" field-name="k_ptr"/> | |
21 | |
22 <namespace-type name="Phonon"> | |
23 <modify-function signature="createPlayer(Phonon::Category, Phonon::MediaSource)"> | |
24 <modify-argument index="2"> | |
25 <replace-default-expression with="null"/> | |
26 </modify-argument> | |
27 </modify-function> | |
28 <modify-function signature="phononVersion()" access="private" rename="phononVersion_private" associated-to="phononVersion()"/> | |
29 <inject-code> | |
30 <import-file name="typesystem_phonon-java.java" quote-after-line="class Phonon___" quote-before-line="}// class"/> | |
31 </inject-code> | |
32 </namespace-type> | |
33 <namespace-type name="Phonon::BackendCapabilities" java-name="BackendCapabilities"/> | |
34 | |
35 <enum-type name="Phonon::Category"> | |
36 <reject-enum-value name="LastCategory"/> | |
37 </enum-type> | |
38 <enum-type name="Phonon::DiscType"/> | |
39 <enum-type name="Phonon::ErrorType"/> | |
40 <enum-type name="Phonon::MetaData"/> | |
41 <enum-type name="Phonon::ObjectDescriptionType"/> | |
42 <enum-type name="Phonon::State"/> | |
43 | |
44 <enum-type name="Phonon::AddonInterface::AngleCommand"/> | |
45 <enum-type name="Phonon::AddonInterface::ChapterCommand"/> | |
46 <enum-type name="Phonon::AddonInterface::Interface"/> | |
47 <enum-type name="Phonon::AddonInterface::NavigationCommand"/> | |
48 <enum-type name="Phonon::AddonInterface::TitleCommand"/> | |
49 <enum-type name="Phonon::BackendInterface::Class"/> | |
50 <enum-type name="Phonon::EffectParameter::Hint" flags="Phonon::EffectParameter::Hints"/> | |
51 <enum-type name="Phonon::MediaController::Feature" flags="Phonon::MediaController::Features"/> | |
52 <enum-type name="Phonon::MediaSource::Type"/> | |
53 <enum-type name="Phonon::VideoWidget::AspectRatio"/> | |
54 <enum-type name="Phonon::VideoWidget::ScaleMode"/> | |
55 <enum-type name="Phonon::VolumeFaderEffect::FadeCurve"/> | |
56 | |
57 <interface-type name="Phonon::AbstractVideoOutput" java-name="AbstractVideoOutput"/> | |
58 <interface-type name="Phonon::AddonInterface" java-name="AbstractAddon"> | |
59 <modify-function signature="interfaceCall(Phonon::AddonInterface::Interface, int, const QList<QVariant> &)"> | |
60 <modify-argument index="3"> | |
61 <replace-default-expression with="null"/> | |
62 </modify-argument> | |
63 </modify-function> | |
64 </interface-type> | |
65 <interface-type name="Phonon::AudioOutputInterface" java-name="AudioOutputInterface"/> | |
66 <interface-type name="Phonon::BackendInterface" java-name="AbstractBackend"> | |
67 <modify-function signature="createObject(Phonon::BackendInterface::Class, QObject *, const QList<QVariant> &)"> | |
68 <modify-argument index="3"> | |
69 <replace-default-expression with="null"/> | |
70 </modify-argument> | |
71 </modify-function> | |
72 </interface-type> | |
73 <interface-type name="Phonon::EffectInterface" java-name="AbstractEffect"/> | |
74 <interface-type name="Phonon::MediaNode" java-name="MediaNode"/> | |
75 | |
76 <interface-type name="Phonon::MediaObjectInterface" java-name="AbstractMediaObject"/> | |
77 <interface-type name="Phonon::PlatformPlugin" java-name="PlatformPlugin"> | |
78 <modify-function signature="notification(const char *, const QString &, const QStringList<QString> &, QObject *, const char *)const"> | |
79 <modify-argument index="3"> | |
80 <replace-default-expression with="null"/> | |
81 </modify-argument> | |
82 <modify-argument index="1"> | |
83 <replace-type modified-type="java.lang.String"/> | |
84 <conversion-rule class="shell"> | |
85 jobject %out = qtjambi_from_qstring(__jni_env, QString::fromUtf8(QByteArray(%in))); | |
86 </conversion-rule> | |
87 <conversion-rule class="native"> | |
88 QByteArray b1 = qtjambi_to_qstring(__jni_env, (jstring) %in).toUtf8(); | |
89 const char* %out = b1.data(); | |
90 </conversion-rule> | |
91 </modify-argument> | |
92 <modify-argument index="5"> | |
93 <replace-type modified-type="java.lang.String"/> | |
94 <conversion-rule class="shell"> | |
95 jobject %out = qtjambi_from_qstring(__jni_env, QString::fromUtf8(QByteArray(%in))); | |
96 </conversion-rule> | |
97 <conversion-rule class="native"> | |
98 QByteArray b2 = qtjambi_to_qstring(__jni_env, (jstring) %in).toUtf8(); | |
99 const char* %out = b1.data(); | |
100 </conversion-rule> | |
101 </modify-argument> | |
102 </modify-function> | |
103 </interface-type> | |
104 <interface-type name="Phonon::StreamInterface" java-name="AbstractStream"/> | |
105 <interface-type name="Phonon::VideoWidgetInterface" java-name="AbstractVideoWidget"/> | |
106 <interface-type name="Phonon::VolumeFaderInterface" java-name="AbstractVolumeFader"/> | |
107 | |
108 <value-type name="Phonon::EffectParameter" java-name="EffectParameter"> | |
109 <modify-function signature="EffectParameter()" remove="all"/> <!-- internal --> | |
110 <modify-function signature="operator<(const Phonon::EffectParameter &)const" remove="all"/> <!-- internal --> | |
111 <modify-function signature="operator>(const Phonon::EffectParameter &)const" remove="all"/> <!-- internal --> | |
112 <modify-function signature="id()const" remove="all"/> <!-- internal --> | |
113 <modify-function signature="operator=(Phonon::EffectParameter)" remove="all"/> <!-- Covered by copy constructor --> | |
114 </value-type> | |
115 <value-type name="Phonon::MediaSource" java-name="MediaSource"> | |
116 <modify-function signature="operator=(Phonon::MediaSource)" remove="all"/> <!-- Covered by copy constructor --> | |
117 </value-type> | |
118 <value-type name="Phonon::Path" java-name="Path"> | |
119 <modify-function signature="disconnect()" rename="disconnectPath"/> | |
120 <modify-function signature="operator=(Phonon::Path)" remove="all"/> <!-- Covered by copy constructor --> | |
121 <modify-function signature="insertEffect(Phonon::EffectDescription,Phonon::Effect*)"> | |
122 <modify-argument index="1"> | |
123 <reference-count action="add" variable-name="__rcEffects"/> | |
124 </modify-argument> | |
125 <modify-argument index="2"> | |
126 <reference-count action="ignore"/> | |
127 </modify-argument> | |
128 </modify-function> | |
129 <modify-function signature="insertEffect(Phonon::Effect*,Phonon::Effect*)"> | |
130 <modify-argument index="1"> | |
131 <reference-count action="add" variable-name="__rcEffects"/> | |
132 </modify-argument> | |
133 <modify-argument index="2"> | |
134 <reference-count action="ignore"/> | |
135 </modify-argument> | |
136 </modify-function> | |
137 <modify-function signature="removeEffect(Phonon::Effect*)"> | |
138 <modify-argument index="1"> | |
139 <reference-count action="remove" variable-name="__rcEffects"/> | |
140 </modify-argument> | |
141 </modify-function> | |
142 </value-type> | |
143 <value-type name="Phonon::ObjectDescription" generate="no"/> | |
144 <value-type name="Phonon::EffectDescription" java-name="EffectDescription"> | |
145 <modify-function signature="fromIndex(int)" remove="all"/> <!-- temporarily removed so we can compile this (not needed in current API) --> | |
146 <modify-function signature="operator!=(Phonon::ObjectDescription)const" remove="all"/> | |
147 <modify-function signature="operator==(Phonon::ObjectDescription)const" access="private"> | |
148 <modify-argument index="1"> | |
149 <replace-type modified-type="qt.phonon.EffectDescription"/> | |
150 <conversion-rule class="native"> | |
151 Phonon::EffectDescription %out = (Phonon::EffectDescription ) *(Phonon::EffectDescription *)%in; | |
152 </conversion-rule> | |
153 </modify-argument> | |
154 </modify-function> | |
155 <modify-function signature="property(const char*)const" access="private"/> | |
156 <inject-code> | |
157 <import-file name="typesystem_phonon-java.java" quote-after-line="class ObjectDescriptionSubclass___" quote-before-line="}// class"/> | |
158 </inject-code> | |
159 </value-type> | |
160 <value-type name="Phonon::AudioOutputDevice" java-name="AudioOutputDevice"> | |
161 <modify-function signature="fromIndex(int)" remove="all"/> <!-- temporarily removed so we can compile this (not needed in current API) --> | |
162 <modify-function signature="operator==(Phonon::ObjectDescription)const" access="private"> | |
163 <modify-argument index="1"> | |
164 <replace-type modified-type="qt.phonon.AudioOutputDevice"/> | |
165 <conversion-rule class="native"> | |
166 Phonon::AudioOutputDevice %out = (Phonon::AudioOutputDevice) *(Phonon::AudioOutputDevice *)%in; | |
167 </conversion-rule> | |
168 </modify-argument> | |
169 </modify-function> | |
170 <modify-function signature="operator!=(Phonon::ObjectDescription)const" remove="all"/> | |
171 <modify-function signature="property(const char*)const" access="private"/> | |
172 <inject-code> | |
173 <import-file name="typesystem_phonon-java.java" quote-after-line="class ObjectDescriptionSubclass___" quote-before-line="}// class"/> | |
174 </inject-code> | |
175 </value-type> | |
176 | |
177 <object-type name="Phonon::AbstractAudioOutput" java-name="AbstractAudioOutput"/> | |
178 <object-type name="Phonon::AbstractMediaStream" java-name="AbstractMediaStream"/> | |
179 <object-type name="Phonon::AudioOutput" java-name="AudioOutput"/> | |
180 <object-type name="Phonon::Effect" java-name="Effect"/> | |
181 <object-type name="Phonon::EffectWidget" java-name="EffectWidget"/> | |
182 <object-type name="Phonon::MediaController" java-name="MediaController"/> | |
183 <object-type name="Phonon::MediaObject" java-name="MediaObject"> | |
184 <modify-function signature="enqueue(const QList<QUrl> &)" rename="enqueueUrls"/> | |
185 <modify-function signature="setQueue(const QList<QUrl> &)" rename="setQueueToUrls"/> | |
186 </object-type> | |
187 <object-type name="Phonon::SeekSlider" java-name="SeekSlider"> | |
188 <modify-function signature="setMediaObject(Phonon::MediaObject*)"> | |
189 <modify-argument index="1"> | |
190 <reference-count action="set" variable-name="__rcMediaObject"/> | |
191 </modify-argument> | |
192 </modify-function> | |
193 </object-type> | |
194 <object-type name="Phonon::VideoPlayer" java-name="VideoPlayer"/> | |
195 <object-type name="Phonon::VideoWidget" java-name="VideoWidget"/> | |
196 <object-type name="Phonon::VolumeFaderEffect" java-name="VolumeFaderEffect"/> | |
197 <object-type name="Phonon::VolumeSlider" java-name="VolumeSlider"> | |
198 <modify-function signature="setAudioOutput(Phonon::AudioOutput*)"> | |
199 <modify-argument index="1"> | |
200 <reference-count action="set" variable-name="__rcAudioOutput"/> | |
201 </modify-argument> | |
202 </modify-function> | |
203 </object-type> | |
204 | |
205 <suppress-warning text="WARNING(MetaJavaBuilder) :: Final class 'AbstractAudioOutput' set to non-final, as it is extended by other classes"/> | |
206 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'QDBus' does not have a type entry"/> | |
207 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'create(const QString & name)' in 'QTextCodecPlugin'"/> | |
208 <suppress-warning text="WARNING(MetaJavaBuilder) :: private virtual function 'keys() const' in 'QTextCodecPlugin'"/> | |
209 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'MediaSource' has equals operators but no qHash() function"/> | |
210 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'Path' has equals operators but no qHash() function"/> | |
211 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'EffectParameter' has equals operators but no qHash() function"/> | |
212 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'Phonon_ObjectDescription' has equals operators but no qHash() function"/> | |
213 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'EffectDescription' has equals operators but no qHash() function"/> | |
214 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'AudioOutputDevice' has equals operators but no qHash() function"/> | |
215 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'Phonon::operator<<', unmatched return type 'QDebug'"/> | |
216 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'Phonon::ObjectDescription::ObjectDescription', unmatched parameter type 'QExplicitlySharedDataPointer<ObjectDescriptionData> const&'"/> | |
217 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'Phonon::BackendCapabilities::notifier', unmatched return type 'Phonon::BackendCapabilities::Notifier*'"/> | |
218 | |
219 | |
220 | |
221 | |
222 | |
223 | |
224 | |
225 | |
226 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AudioOutputInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
227 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.VolumeFaderEffect' for enum 'FadeCurve' is not declared"/> | |
228 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::MediaSource' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
229 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::MediaController' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
230 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QAbstractXmlForwardIterator' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
231 <suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QFormLayout::FormStyle' is specified in typesystem, but not declared"/> | |
232 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AbstractAudioOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
233 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'DiscType' is not declared"/> | |
234 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AudioOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
235 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.VideoWidget' for enum 'AspectRatio' is not declared"/> | |
236 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::Effect' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
237 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.MediaSource' for enum 'Type' is not declared"/> | |
238 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VolumeSlider' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
239 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::BackendInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
240 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::EffectParameter' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
241 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VideoWidget' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
242 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::StreamInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
243 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'ErrorType' is not declared"/> | |
244 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.VideoWidget' for enum 'ScaleMode' is not declared"/> | |
245 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractAddon' for enum 'Interface' is not declared"/> | |
246 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::MediaObjectInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
247 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'MetaData' is not declared"/> | |
248 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::Path' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
249 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.EffectParameter' for enum 'Hint' is not declared"/> | |
250 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.MediaController' for enum 'Feature' is not declared"/> | |
251 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VideoPlayer' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
252 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::MediaObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
253 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractBackend' for enum 'Class' is not declared"/> | |
254 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractAddon' for enum 'AngleCommand' is not declared"/> | |
255 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractAddon' for enum 'TitleCommand' is not declared"/> | |
256 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VolumeFaderEffect' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
257 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AudioOutputDevice' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
258 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::ObjectDescription' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
259 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::EffectDescription' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
260 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VideoWidgetInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
261 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::EffectInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
262 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'State' is not declared"/> | |
263 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::SeekSlider' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
264 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractAddon' for enum 'NavigationCommand' is not declared"/> | |
265 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::MediaNode' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
266 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'Category' is not declared"/> | |
267 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'JObjectWrapper' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
268 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AbstractMediaStream' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
269 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::PlatformPlugin' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
270 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AddonInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
271 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.Phonon' for enum 'ObjectDescriptionType' is not declared"/> | |
272 <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'qt.phonon.AbstractAddon' for enum 'ChapterCommand' is not declared"/> | |
273 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::AbstractVideoOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
274 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::EffectWidget' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
275 <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'Phonon::VolumeFaderInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> | |
276 | |
277 | |
278 </typesystem> |