4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpModule</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="GIMP Module Library Reference Manual">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="GIMP Module Library Reference Manual">
8
8
<link rel="up" href="libgimpmodule.html" title="Part I. GIMP Module Library">
9
9
<link rel="prev" href="libgimpmodule.html" title="Part I. GIMP Module Library">
10
10
<link rel="next" href="GimpModuleDB.html" title="GimpModuleDB">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpmodule.html" title="Part I. GIMP Module Library">
14
14
<link rel="index" href="libgimpmodule-index.html" title="Index">
26
26
<th width="100%" align="center">GIMP Module Library Reference Manual</th>
27
27
<td><a accesskey="n" href="GimpModuleDB.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
29
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpModule.synopsis" class="shortcut">Top</a>
31
<a href="#GimpModule.description" class="shortcut">Description</a>
33
<a href="#GimpModule.object-hierarchy" class="shortcut">Object Hierarchy</a>
35
<a href="#GimpModule.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
37
<a href="#GimpModule.signals" class="shortcut">Signals</a></nobr></td></tr>
29
<tr><td colspan="5" class="shortcuts">
30
<a href="#GimpModule.synopsis" class="shortcut">Top</a>
32
<a href="#GimpModule.description" class="shortcut">Description</a>
34
<a href="#GimpModule.object-hierarchy" class="shortcut">Object Hierarchy</a>
36
<a href="#GimpModule.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
38
<a href="#GimpModule.signals" class="shortcut">Signals</a>
39
<div class="refentry" lang="en">
41
<div class="refentry" title="GimpModule">
40
42
<a name="GimpModule"></a><div class="titlepage"></div>
41
43
<div class="refnamediv"><table width="100%"><tr>
43
45
<h2><span class="refentrytitle"><a name="GimpModule.top_of_page"></a>GimpModule</span></h2>
44
46
<p>GimpModule — A <a
45
47
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
46
><span class="type">GTypeModule</span></a> subclass which implements module loading using <span class="type">GModule</span>.</p>
48
><span class="type">GTypeModule</span></a> subclass which implements module loading using <a
49
href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"
50
><span class="type">GModule</span></a>.</p>
48
52
<td valign="top" align="right"></td>
49
53
</tr></table></div>
50
<div class="refsynopsisdiv">
54
<div class="refsynopsisdiv" title="Synopsis">
51
55
<a name="GimpModule.synopsis"></a><h2>Synopsis</h2>
52
56
<pre class="synopsis">
53
57
<a class="link" href="GimpModule.html#GimpModule-struct" title="GimpModule">GimpModule</a>;
54
58
<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>;
55
59
enum <a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState">GimpModuleState</a>;
56
const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* (<a class="link" href="GimpModule.html#GimpModuleQueryFunc" title="GimpModuleQueryFunc ()">*GimpModuleQueryFunc</a>) (<a
60
const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * (<a class="link" href="GimpModule.html#GimpModuleQueryFunc" title="GimpModuleQueryFunc ()">*GimpModuleQueryFunc</a>) (<a
57
61
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
58
62
>GTypeModule</a> *module);
61
65
>gboolean</a> (<a class="link" href="GimpModule.html#GimpModuleRegisterFunc" title="GimpModuleRegisterFunc ()">*GimpModuleRegisterFunc</a>) (<a
62
66
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
63
67
>GTypeModule</a> *module);
64
#define <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION:CAPS" title="GIMP_MODULE_ABI_VERSION">GIMP_MODULE_ABI_VERSION</a>
65
#define <a class="link" href="GimpModule.html#GIMP-MODULE-PARAM-SERIALIZE:CAPS" title="GIMP_MODULE_PARAM_SERIALIZE">GIMP_MODULE_PARAM_SERIALIZE</a>
66
<a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a>* <a class="link" href="GimpModule.html#gimp-module-new" title="gimp_module_new ()">gimp_module_new</a> (const <a
68
#define <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION--CAPS" title="GIMP_MODULE_ABI_VERSION">GIMP_MODULE_ABI_VERSION</a>
69
#define <a class="link" href="GimpModule.html#GIMP-MODULE-PARAM-SERIALIZE--CAPS" title="GIMP_MODULE_PARAM_SERIALIZE">GIMP_MODULE_PARAM_SERIALIZE</a>
70
<a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a> * <a class="link" href="GimpModule.html#gimp-module-new" title="gimp_module_new ()">gimp_module_new</a> (const <a
67
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
68
72
>gchar</a> *filename,
82
86
>gboolean</a> load_inhibit);
84
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
85
>gchar</a>* <a class="link" href="GimpModule.html#gimp-module-state-name" title="gimp_module_state_name ()">gimp_module_state_name</a> (<a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState">GimpModuleState</a> state);
89
>gchar</a> * <a class="link" href="GimpModule.html#gimp-module-state-name" title="gimp_module_state_name ()">gimp_module_state_name</a> (<a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState">GimpModuleState</a> state);
87
91
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
88
92
>GType</a> <a class="link" href="GimpModule.html#gimp-module-register-enum" title="gimp_module_register_enum ()">gimp_module_register_enum</a> (<a
95
99
href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
96
100
>GEnumValue</a> *const_static_values);
97
<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* <a class="link" href="GimpModule.html#gimp-module-info-new" title="gimp_module_info_new ()">gimp_module_info_new</a> (guint32 abi_version,
101
<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * <a class="link" href="GimpModule.html#gimp-module-info-new" title="gimp_module_info_new ()">gimp_module_info_new</a> (<a
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
103
>guint32</a> abi_version,
99
105
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
100
106
>gchar</a> *purpose,
111
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
112
118
>gchar</a> *date);
113
<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* <a class="link" href="GimpModule.html#gimp-module-info-copy" title="gimp_module_info_copy ()">gimp_module_info_copy</a> (const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);
119
<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * <a class="link" href="GimpModule.html#gimp-module-info-copy" title="gimp_module_info_copy ()">gimp_module_info_copy</a> (const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);
114
120
void <a class="link" href="GimpModule.html#gimp-module-info-free" title="gimp_module_info_free ()">gimp_module_info_free</a> (<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);
117
<div class="refsect1" lang="en">
123
<div class="refsect1" title="Object Hierarchy">
118
124
<a name="GimpModule.object-hierarchy"></a><h2>Object Hierarchy</h2>
119
125
<pre class="synopsis">
134
140
href="http://library.gnome.org/devel/gobject/unstable/GTypePlugin.html"
135
141
>GTypePlugin</a>.</p>
137
<div class="refsect1" lang="en">
143
<div class="refsect1" title="Signals">
138
144
<a name="GimpModule.signals"></a><h2>Signals</h2>
139
145
<pre class="synopsis">
140
146
"<a class="link" href="GimpModule.html#GimpModule-modified" title='The "modified" signal'>modified</a>" : Run First
143
<div class="refsect1" lang="en">
149
<div class="refsect1" title="Description">
144
150
<a name="GimpModule.description"></a><h2>Description</h2>
147
153
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
148
><span class="type">GTypeModule</span></a> subclass which implements module loading using <span class="type">GModule</span>.
154
><span class="type">GTypeModule</span></a> subclass which implements module loading using <a
155
href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"
156
><span class="type">GModule</span></a>.
151
<div class="refsect1" lang="en">
159
<div class="refsect1" title="Details">
152
160
<a name="GimpModule.details"></a><h2>Details</h2>
153
<div class="refsect2" lang="en">
161
<div class="refsect2" title="GimpModule">
154
162
<a name="GimpModule-struct"></a><h3>GimpModule</h3>
155
163
<pre class="programlisting">typedef struct {
156
164
gchar *filename; /* path to the module */
170
178
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
171
179
><span class="type">GTypeModule</span></a> subclass, implementing module loading
172
using <span class="type">GModule</span>. <a class="link" href="GimpModule.html" title="GimpModule"><span class="type">GimpModule</span></a> does not know which functionality is
181
href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"
182
><span class="type">GModule</span></a>. <a class="link" href="GimpModule.html" title="GimpModule"><span class="type">GimpModule</span></a> does not know which functionality is
173
183
implemented by the modules, it just provides a framework to get
175
185
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
195
205
<col align="left" valign="top">
198
<td><p><span class="term">guint32 <em class="structfield"><code>abi_version</code></em>;</span></p></td>
199
<td>The <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION:CAPS" title="GIMP_MODULE_ABI_VERSION"><span class="type">GIMP_MODULE_ABI_VERSION</span></a> the module was compiled against.
208
<td><p><span class="term"><a
209
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
210
>guint32</a> <em class="structfield"><code>abi_version</code></em>;</span></p></td>
211
<td>The <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION--CAPS" title="GIMP_MODULE_ABI_VERSION"><span class="type">GIMP_MODULE_ABI_VERSION</span></a> the module was compiled against.
232
244
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
233
245
>gchar</a> *<em class="structfield"><code>date</code></em>;</span></p></td>
234
246
<td> The module's release date.
242
<div class="refsect2" lang="en">
253
<div class="refsect2" title="enum GimpModuleState">
243
254
<a name="GimpModuleState"></a><h3>enum GimpModuleState</h3>
244
255
<pre class="programlisting">typedef enum
263
274
<col align="left" valign="top">
266
<td><p><a name="GIMP-MODULE-STATE-ERROR:CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_ERROR</code></span></p></td>
277
<td><p><a name="GIMP-MODULE-STATE-ERROR--CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_ERROR</code></span></p></td>
267
278
<td> Missing <code class="function">gimp_module_register()</code> function
272
<td><p><a name="GIMP-MODULE-STATE-LOADED:CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_LOADED</code></span></p></td>
283
<td><p><a name="GIMP-MODULE-STATE-LOADED--CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_LOADED</code></span></p></td>
273
284
<td> An instance of a type implemented by
274
285
this module is allocated.
278
<td><p><a name="GIMP-MODULE-STATE-LOAD-FAILED:CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_LOAD_FAILED</code></span></p></td>
289
<td><p><a name="GIMP-MODULE-STATE-LOAD-FAILED--CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_LOAD_FAILED</code></span></p></td>
280
291
<code class="function">gimp_module_register()</code> returned <a
281
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"
292
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
282
293
><span class="type">FALSE</span></a>.
286
<td><p><a name="GIMP-MODULE-STATE-NOT-LOADED:CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_NOT_LOADED</code></span></p></td>
297
<td><p><a name="GIMP-MODULE-STATE-NOT-LOADED--CAPS"></a><span class="term"><code class="literal">GIMP_MODULE_STATE_NOT_LOADED</code></span></p></td>
287
298
<td> There are no instances allocated of
288
299
types implemented by this module.
296
<div class="refsect2" lang="en">
306
<div class="refsect2" title="GimpModuleQueryFunc ()">
297
307
<a name="GimpModuleQueryFunc"></a><h3>GimpModuleQueryFunc ()</h3>
298
<pre class="programlisting">const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* (*GimpModuleQueryFunc) (<a
308
<pre class="programlisting">const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * (*GimpModuleQueryFunc) (<a
299
309
href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"
300
310
>GTypeModule</a> *module);</pre>
320
330
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
321
331
<td>The <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo"><span class="type">GimpModuleInfo</span></a> struct describing the module.
330
<div class="refsect2" lang="en">
338
<div class="refsect2" title="GimpModuleRegisterFunc ()">
331
339
<a name="GimpModuleRegisterFunc"></a><h3>GimpModuleRegisterFunc ()</h3>
332
340
<pre class="programlisting"><a
333
341
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
355
363
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
358
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
359
><span class="type">TRUE</span></a> on success, <a
360
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"
364
<td>#TRUE on success, <a
365
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
361
366
><span class="type">FALSE</span></a> otherwise.
370
<div class="refsect2" lang="en">
371
<a name="GIMP-MODULE-ABI-VERSION:CAPS"></a><h3>GIMP_MODULE_ABI_VERSION</h3>
373
<div class="refsect2" title="GIMP_MODULE_ABI_VERSION">
374
<a name="GIMP-MODULE-ABI-VERSION--CAPS"></a><h3>GIMP_MODULE_ABI_VERSION</h3>
372
375
<pre class="programlisting">#define GIMP_MODULE_ABI_VERSION 0x0004
382
<div class="refsect2" lang="en">
383
<a name="GIMP-MODULE-PARAM-SERIALIZE:CAPS"></a><h3>GIMP_MODULE_PARAM_SERIALIZE</h3>
385
<div class="refsect2" title="GIMP_MODULE_PARAM_SERIALIZE">
386
<a name="GIMP-MODULE-PARAM-SERIALIZE--CAPS"></a><h3>GIMP_MODULE_PARAM_SERIALIZE</h3>
384
387
<pre class="programlisting">#define GIMP_MODULE_PARAM_SERIALIZE (1 << (0 + G_PARAM_USER_SHIFT))
386
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
389
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
387
390
<h3 class="title">Warning</h3>
388
391
<p><code class="literal">GIMP_MODULE_PARAM_SERIALIZE</code> is deprecated and should not be used in newly-written code.</p>
395
<div class="refsect2" lang="en">
397
<div class="refsect2" title="gimp_module_new ()">
396
398
<a name="gimp-module-new"></a><h3>gimp_module_new ()</h3>
397
<pre class="programlisting"><a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a>* gimp_module_new (const <a
399
<pre class="programlisting"><a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a> * gimp_module_new (const <a
398
400
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
399
401
>gchar</a> *filename,
420
421
<td><p><span class="term"><em class="parameter"><code>load_inhibit</code></em> :</span></p></td>
422
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
423
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
423
424
><code class="literal">TRUE</code></a> to exclude this module from auto-loading.
427
428
<td><p><span class="term"><em class="parameter"><code>verbose</code></em> :</span></p></td>
429
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
430
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
430
431
><code class="literal">TRUE</code></a> to enable debugging output.
442
<div class="refsect2" lang="en">
443
<div class="refsect2" title="gimp_module_modified ()">
443
444
<a name="gimp-module-modified"></a><h3>gimp_module_modified ()</h3>
444
445
<pre class="programlisting">void gimp_module_modified (<a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a> *module);</pre>
446
447
Emits the "modified" signal. Call it whenever you have modified the module
447
448
manually (which you shouldn't do).</p>
451
451
<div class="variablelist"><table border="0">
452
452
<col align="left" valign="top">
461
<div class="refsect2" lang="en">
461
<div class="refsect2" title="gimp_module_query_module ()">
462
462
<a name="gimp-module-query-module"></a><h3>gimp_module_query_module ()</h3>
463
463
<pre class="programlisting"><a
464
464
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
468
468
may implement. After successful query, the <em class="parameter"><code>info</code></em> field of the
469
469
<a class="link" href="GimpModule.html" title="GimpModule"><span class="type">GimpModule</span></a> struct will be available for further inspection.</p>
473
472
<div class="variablelist"><table border="0">
474
473
<col align="left" valign="top">
482
481
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
484
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
483
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
485
484
><code class="literal">TRUE</code></a> on success.
492
<div class="refsect2" lang="en">
491
<div class="refsect2" title="gimp_module_set_load_inhibit ()">
493
492
<a name="gimp-module-set-load-inhibit"></a><h3>gimp_module_set_load_inhibit ()</h3>
494
493
<pre class="programlisting">void gimp_module_set_load_inhibit (<a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a> *module,
512
510
<td><p><span class="term"><em class="parameter"><code>load_inhibit</code></em> :</span></p></td>
514
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
512
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
515
513
><code class="literal">TRUE</code></a> to exclude this module from auto-loading.
522
<div class="refsect2" lang="en">
520
<div class="refsect2" title="gimp_module_state_name ()">
523
521
<a name="gimp-module-state-name"></a><h3>gimp_module_state_name ()</h3>
524
522
<pre class="programlisting">const <a
525
523
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
526
>gchar</a>* gimp_module_state_name (<a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState">GimpModuleState</a> state);</pre>
524
>gchar</a> * gimp_module_state_name (<a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState">GimpModuleState</a> state);</pre>
528
526
Returns the translated textual representation of a <a class="link" href="GimpModule.html#GimpModuleState" title="enum GimpModuleState"><span class="type">GimpModuleState</span></a>.
529
527
The returned string must not be freed.</p>
533
530
<div class="variablelist"><table border="0">
534
531
<col align="left" valign="top">
550
<div class="refsect2" lang="en">
547
<div class="refsect2" title="gimp_module_register_enum ()">
551
548
<a name="gimp-module-register-enum"></a><h3>gimp_module_register_enum ()</h3>
552
549
<pre class="programlisting"><a
553
550
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
561
558
href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"
562
559
>GEnumValue</a> *const_static_values);</pre>
563
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
560
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
564
561
<h3 class="title">Warning</h3>
565
562
<p><code class="literal">gimp_module_register_enum</code> is deprecated and should not be used in newly-written code.</p>
603
<div class="refsect2" lang="en">
599
<div class="refsect2" title="gimp_module_info_new ()">
604
600
<a name="gimp-module-info-new"></a><h3>gimp_module_info_new ()</h3>
605
<pre class="programlisting"><a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* gimp_module_info_new (guint32 abi_version,
601
<pre class="programlisting"><a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * gimp_module_info_new (<a
602
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
603
>guint32</a> abi_version,
607
605
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
608
606
>gchar</a> *purpose,
622
620
Creates a newly allocated <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo"><span class="type">GimpModuleInfo</span></a> struct.</p>
626
623
<div class="variablelist"><table border="0">
627
624
<col align="left" valign="top">
630
627
<td><p><span class="term"><em class="parameter"><code>abi_version</code></em> :</span></p></td>
631
<td> The <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION:CAPS" title="GIMP_MODULE_ABI_VERSION"><span class="type">GIMP_MODULE_ABI_VERSION</span></a> the module was compiled against.
628
<td> The <a class="link" href="GimpModule.html#GIMP-MODULE-ABI-VERSION--CAPS" title="GIMP_MODULE_ABI_VERSION"><span class="type">GIMP_MODULE_ABI_VERSION</span></a> the module was compiled against.
668
<div class="refsect2" lang="en">
665
<div class="refsect2" title="gimp_module_info_copy ()">
669
666
<a name="gimp-module-info-copy"></a><h3>gimp_module_info_copy ()</h3>
670
<pre class="programlisting"><a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a>* gimp_module_info_copy (const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);</pre>
667
<pre class="programlisting"><a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> * gimp_module_info_copy (const <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);</pre>
672
669
Copies a <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo"><span class="type">GimpModuleInfo</span></a> struct.</p>
676
672
<div class="variablelist"><table border="0">
677
673
<col align="left" valign="top">
693
<div class="refsect2" lang="en">
689
<div class="refsect2" title="gimp_module_info_free ()">
694
690
<a name="gimp-module-info-free"></a><h3>gimp_module_info_free ()</h3>
695
691
<pre class="programlisting">void gimp_module_info_free (<a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo">GimpModuleInfo</a> *info);</pre>
697
693
Frees the passed <a class="link" href="GimpModule.html#GimpModuleInfo" title="GimpModuleInfo"><span class="type">GimpModuleInfo</span></a>.</p>
701
696
<div class="variablelist"><table border="0">
702
697
<col align="left" valign="top">
711
<div class="refsect1" lang="en">
706
<div class="refsect1" title="Signal Details">
712
707
<a name="GimpModule.signal-details"></a><h2>Signal Details</h2>
713
<div class="refsect2" lang="en">
708
<div class="refsect2" title='The "modified" signal'>
714
709
<a name="GimpModule-modified"></a><h3>The <code class="literal">"modified"</code> signal</h3>
715
710
<pre class="programlisting">void user_function (<a class="link" href="GimpModule.html" title="GimpModule">GimpModule</a> *gimpmodule,
717
712
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
718
713
>gpointer</a> user_data) : Run First</pre>
722
716
<div class="variablelist"><table border="0">
723
717
<col align="left" valign="top">
739
<div class="refsect1" lang="en">
732
<div class="refsect1" title="See Also">
740
733
<a name="GimpModule.see-also"></a><h2>See Also</h2>
742
<span class="type">GModule</span>
736
href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"
737
><span class="type">GModule</span></a>