2 # This file is part of gtkD.
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.
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.
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
23 * This file is part of gtkD.
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.
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.
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
40 // generated automatically - do not change
41 // find conversion definition on APILookup.txt
42 // implement new conversion functionalities on the wrap.utils pakage
49 # defines the simple token substitution
50 # TODO allow to create real aliases on the code and simple static token replacement
58 alias: gconstpointer void*
85 #alias: gunichar dchar
86 #alias: gunichar2 wchar
94 alias: default defaulx
99 alias: instance instanc
101 alias: version versio
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
130 # define the packages to process
133 package: gthread gthread
134 package: gobject gobject
135 package: cairo cairoLib
138 package: gdk-pixbuf gdkpixbuf
143 package: sourceview gsv
151 ##gstreamerD wrapping is not on by default
152 ##because of the hand-editing that is still required.
154 package: gstreamer gstreamer
155 package: gstinterfaces gstinterfaces
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 ###########################################################
190 ###########################################################
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
216 lookup: APILookupGLd.txt
217 lookup: APILookupGLt.txt
218 #Copy statements move here so that directory structure can be created
221 #J#htod: HTODopenGL.txt
225 #J#lookup: APILookupGda.txt
229 #J#lookup: APILookupSourceView.txt
231 ##gstreamerD wrapping is not on by default
232 ##because of the hand-editing that is still required.
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.
241 srcout: ../srcgstreamer
243 copy: gstreamertypes.d
246 srcout: ../srcgstreamer
247 copy: gstinterfaces.d
248 copy: gstinterfacestypes.d
250 #Hack to put the build text in the correct place.