Mercurial > projects > qtd
comparison generator/typesystem_opengl.xml @ 1:e78566595089
initial import
author | mandel |
---|---|
date | Mon, 11 May 2009 16:01:50 +0000 |
parents | |
children | eb3b5bbffc8f |
comparison
equal
deleted
inserted
replaced
0:36fb74dc547d | 1:e78566595089 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <?xml-stylesheet type="text/xsl" href="merge.xsl"?> | |
3 | |
4 <typesystem package="qt.opengl" default-superclass="QtDObject"> | |
5 <inject-code> | |
6 qt.Utilities.loadQtLibrary("QtGui"); | |
7 qt.Utilities.loadQtLibrary("QtOpenGL"); | |
8 </inject-code> | |
9 <primitive-type name="GLuint" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
10 <primitive-type name="GLint" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
11 <primitive-type name="GLenum" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
12 <rejection class="QGLColormap::QGLColormapData"/> | |
13 <rejection class="QGLWidget" function-name="setMouseTracking"/> | |
14 | |
15 <enum-type name="QGL::FormatOption" flags="QGL::FormatOptions"/> | |
16 <enum-type name="QGLFormat::OpenGLVersionFlag" flags="QGLFormat::OpenGLVersionFlags"/> | |
17 <enum-type name="QGLFramebufferObject::Attachment"/> | |
18 | |
19 <namespace-type name="QGL"> | |
20 <include file-name="qgl.h" location="global"/> | |
21 </namespace-type> | |
22 | |
23 <value-type name="QGLColormap"> | |
24 <modify-function signature="operator=(QGLColormap)" remove="all"/> | |
25 | |
26 <modify-function signature="setEntries(int,const unsigned int*,int)"> | |
27 <access modifier="private"/> | |
28 </modify-function> | |
29 | |
30 <inject-code> | |
31 <import-file name="typesystem_opengl-java.java" quote-after-line="class QGLColormap___" quote-before-line="}// class"/> | |
32 </inject-code> | |
33 | |
34 </value-type> | |
35 | |
36 <value-type name="QGLFormat"> | |
37 <modify-function signature="operator=(QGLFormat)" remove="all"/> | |
38 </value-type> | |
39 | |
40 <object-type name="QGLContext"> | |
41 | |
42 <modify-function signature="chooseContext(const QGLContext*)"> | |
43 <modify-argument index="1" invalidate-after-use="yes"/> | |
44 </modify-function> | |
45 <modify-function signature="create(const QGLContext*)"> | |
46 <modify-argument index="1" invalidate-after-use="yes"/> | |
47 </modify-function> | |
48 | |
49 <modify-function signature="getProcAddress(QString)const"> | |
50 <remove/> | |
51 </modify-function> | |
52 <modify-field name="currentCtx" read="false" write="false"/> | |
53 <modify-function signature="setDevice(QPaintDevice*)"> | |
54 <remove/> | |
55 </modify-function> | |
56 <modify-function signature="generateFontDisplayLists(QFont, int)" remove="all"/> | |
57 </object-type> | |
58 <object-type name="QGLFramebufferObject"/> | |
59 <object-type name="QGLPixelBuffer"> | |
60 <extra-includes> | |
61 <include file-name="QImage" location="global"/> | |
62 </extra-includes> | |
63 </object-type> | |
64 <object-type name="QGLWidget"> | |
65 <extra-includes> | |
66 <include file-name="QImage" location="global"/> | |
67 <include file-name="QPixmap" location="global"/> | |
68 </extra-includes> | |
69 <modify-function signature="setContext(QGLContext*,const QGLContext*,bool)"> | |
70 <remove/> <!--- Obsolete --> | |
71 </modify-function> | |
72 <modify-function signature="fontDisplayListBase(QFont, int)" remove="all"/> | |
73 <modify-function signature="setFormat(QGLFormat)" remove="all"/> | |
74 </object-type> | |
75 | |
76 | |
77 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QGLColormap::QGLColormapData\*'"/> | |
78 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/> | |
79 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/> | |
80 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/> | |
81 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGLFormat' has equals operators but no qHash() function"/> | |
82 | |
83 </typesystem> |