I've no idea here...
[gtkD.git] / gtkD / wrap / APILookup.txt
blob067934077fe555d3fe87af5395e11787d499b216
2 # This file is part of gtkD.
3
4 # gtkD is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU Lesser General Public License as published by
6 # the Free Software Foundation; either version 2.1 of the License, or
7 # (at your option) any later version.
8
9 # gtkD is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU Lesser General Public License for more details.
13
14 # You should have received a copy of the GNU Lesser General Public License
15 # along with gtkD; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20 # define the license to use
21 license: start
23  * This file is part of gtkD.
24  *
25  * gtkD is free software; you can redistribute it and/or modify
26  * it under the terms of the GNU Lesser General Public License as published by
27  * the Free Software Foundation; either version 2.1 of the License, or
28  * (at your option) any later version.
29  *
30  * gtkD is distributed in the hope that it will be useful,
31  * but WITHOUT ANY WARRANTY; without even the implied warranty of
32  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33  * GNU Lesser General Public License for more details.
34  *
35  * You should have received a copy of the GNU Lesser General Public License
36  * along with gtkD; if not, write to the Free Software
37  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38  */
40 // generated automatically - do not change
41 // find conversion definition on APILookup.txt
42 // implement new conversion functionalities on the wrap.utils pakage
45 license: end
47 includeComments: y
49 # defines the simple token substitution
50 # TODO allow to create real aliases on the code and simple static token replacement
51 alias: const
52 alias: volatile
53 alias: G_CONST_RETURN
54 alias: gint int
55 alias: guint uint
56 alias: gboolean int
57 alias: gpointer void*
58 alias: gconstpointer void*
59 alias: gchar char
60 alias: gchar*char[]
61 alias: gchar* char[]
62 alias: guchar char
63 alias: gshort short
64 alias: gushort ushort
65 alias: glong int
66 alias: gulong uint
67 alias: gint8 byte
68 alias: guint8 byte
69 alias: gint16 short
70 alias: guint16 ushort
71 alias: gint32 int
72 alias: gint64 long
73 alias: guint32 uint
74 alias: guint64 ulong
75 alias: gfloat float
76 alias: gdouble double
77 alias: gsize uint
78 alias: gssize int
79 alias: va_list void*
80 alias: unichar dchar
81 alias: unichar2 wchar
82 alias: uchar ubyte
83 alias: uint XID
85 #alias: gunichar dchar
86 #alias: gunichar2 wchar
88 alias: size_t int
89 alias: time_t uint
90 alias: tm* void*
92 alias: function funct
93 alias: Function Funct
94 alias: default defaulx
95 alias: foreach foreac
96 alias: package p
97 alias: delete delet
98 alias: module modul
99 alias: instance instanc
100 alias: union unio
101 alias: version versio
102 alias: in inn
103 alias: ref doref
105 alias: GLIB_SYSDEF_POLLIN =1
106 alias: GLIB_SYSDEF_POLLOUT =4
107 alias: GLIB_SYSDEF_POLLPRI =2
108 alias: GLIB_SYSDEF_POLLHUP =16
109 alias: GLIB_SYSDEF_POLLERR =8
110 alias: GLIB_SYSDEF_POLLNVAL =32
112 # ok, I'm not sure how to do this but I need to know the enum type for some enum entries
113 enumType: G_TOKEN_LAST TokenType.LAST
114 enumType: G_SIGNAL_RUN_FIRST SignalFlags.RUN_FIRST
115 enumType: G_SIGNAL_RUN_LAST SignalFlags.RUN_LAST
116 enumType: G_SIGNAL_NO_RECURSE SignalFlags.NO_RECURSE
117 enumType: G_SIGNAL_ACTION SignalFlags.ACTION
118 enumType: G_SIGNAL_NO_HOOKS SignalFlags.NO_HOOKS
119 enumType: G_PARAM_READABLE ParamFlags.READABLE
120 enumType: G_PARAM_WRITABLE ParamFlags.WRITABLE
121 enumType: G_PARAM_CONSTRUCT ParamFlags.CONSTRUCT
122 enumType: G_PARAM_CONSTRUCT_ONLY ParamFlags.CONSTRUCT_ONLY
125 # define the lookup and destination directories
126 # "src" and "obj" will be added to outputRoot
127 inputRoot: ./gtkdocs
128 outputRoot:../ 
130 # define the packages to process
131 srcdir: src
132 package: glib glib
133 package: gthread gthread
134 package: gobject gobject
135 package: cairo cairoLib
136 package: pango pango
137 package: atk atk
138 package: gdk-pixbuf gdkpixbuf
139 package: gdk gdk
140 package: gtk gtk
141 package: gda gda
142 package: glade glade
143 package: sourceview gsv
144 bind: gtkc
146 srcdir: srcgl
147 package: glgdk glgdk
148 package: glgtk glgtk
149 bind: gtkglc
151 ##gstreamerD wrapping is not on by default
152 ##because of the hand-editing that is still required.
153 srcdir: srcgstreamer
154 package: gstreamer gstreamer
155 package: gstinterfaces gstinterfaces
156 bind: gstreamerc
158 # define other packages to create
160 # define package by package, file by file
161 # sections with extra definitions for the typedefs.d package file
162 # these sections start with "<token>: start"
163 # and end with "<token>: end"
164 # addTypedefs   // any definition on the top of the file
165 # addAliases    // aliases definitions 
166 # addEnums      // enum definitions 
167 # addStructs    // struct definitions 
168 # addTypes      // type definitions 
169 # addFuncts     // functs definitions 
170 # addUnions     // unions definitions 
171 # addConstants  // constants definitions 
173 # wrap: the current package
174 # file: the current file - must be the first no a new processing group
175 # struct: the main strcuture to be wrapped
176 # nostruct: the structs not to declare (probably will be declared on another file)
177 # class: - the output class (empty when output is not a class)
178 #          More then one class is valid but each class needs a correspondent prefix
179 # prefix: - the gtk prefix that members to include (and to be omited)
180 #          More then one prefix is valid and at least ont prefix must exist pre class
181 # noPrefix: Do not include functions that start with the prefix
182 # alias: define a local alias table
183 # import: create import
184 # strcutWrap: the strcut to wrap/unwrap in a GtkD class
185 # outFile: the output file - need to be present to write the source code out
188 ###########################################################
189 ### predifined: lib
190 ###########################################################
191 wrap: gtkc
192 srcout: ../src
193 copy: paths.d
194 copy: Loader.d
195 #wrap: gtkglc
196 #srcout: srcgl
197 #copy: paths.d
198 #copy: Loader.d
200 srcdir: src
201 bindDir: gtkc
202 lookup: APILookupGLib.txt
203 lookup: APILookupGThread.txt
204 lookup: APILookupGObject.txt
205 lookup: APILookupCairo.txt
206 lookup: APILookupPango.txt
207 lookup: APILookupAtk.txt
208 lookup: APILookupGdkPixbuf.txt
209 lookup: APILookupGdk.txt
210 lookup: APILookupGtk.txt
212 lookup: APILookupGlade.txt
214 srcdir: srcgl
215 bindDir: gtkglc
216 lookup: APILookupGLd.txt
217 lookup: APILookupGLt.txt
218 #Copy statements move here so that directory structure can be created
219 #first
221 #J#htod: HTODopenGL.txt
223 #J#srcdir: srcgda
224 #J#bindDir: gdac
225 #J#lookup: APILookupGda.txt
227 #J#srcdir: srcsv
228 #J#bindDir: gsvc
229 #J#lookup: APILookupSourceView.txt
231 ##gstreamerD wrapping is not on by default
232 ##because of the hand-editing that is still required.
233 srcdir: srcgstreamer
234 bindDir: gstreamerc
235 lookup: APILookupGstInterfaces.txt
236 lookup: APILookupGStreamer.txt
238 ##This is a hack to put the hand edited gstreamer versions there.
239 ##This should be removed when we get these files automatically.
240 wrap: gstreamerc
241 srcout: ../srcgstreamer
242 copy: gstreamer.d
243 copy: gstreamertypes.d
245 wrap: gstreamerc
246 srcout: ../srcgstreamer
247 copy: gstinterfaces.d
248 copy: gstinterfacestypes.d
250 #Hack to put the build text in the correct place.
251 srcdir: src