63 lines
5.4 KiB
HTML
63 lines
5.4 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>BModuleInfo</title><meta name="generator" content="DocBook XSL Stylesheets V1.64.1"><link rel="home" href="index.html" title="BLib Reference Manual"><link rel="up" href="blib-modules.html" title="Blinkenlights Modules"><link rel="previous" href="blib-BModule-Utilities.html" title="BModule Utilities"><link rel="next" href="blib-BModule-Internal-API.html" title="BModule Internal API"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
|
||
.synopsis, .classsynopsis {
|
||
background: #eeeeee;
|
||
border: solid 1px #aaaaaa;
|
||
padding: 0.5em;
|
||
}
|
||
.programlisting {
|
||
background: #eeeeff;
|
||
border: solid 1px #aaaaff;
|
||
padding: 0.5em;
|
||
}
|
||
.variablelist {
|
||
padding: 4px;
|
||
margin-left: 3em;
|
||
}
|
||
.navigation {
|
||
background: #ffeeee;
|
||
border: solid 1px #ffaaaa;
|
||
margin-top: 0.5em;
|
||
margin-bottom: 0.5em;
|
||
}
|
||
.navigation a {
|
||
color: #770000;
|
||
}
|
||
.navigation a:visited {
|
||
color: #550000;
|
||
}
|
||
.navigation .title {
|
||
font-size: 200%;
|
||
}
|
||
</style></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="blib-BModule-Utilities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="blib-modules.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">BLib Reference Manual</th><td><a accesskey="n" href="blib-BModule-Internal-API.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="BModuleInfo"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2><span class="refentrytitle">BModuleInfo</span></h2><p>BModuleInfo — handling of loadable modules</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
|
||
|
||
|
||
|
||
struct <a href="BModuleInfo.html#BModuleInfo-struct">BModuleInfo</a>;
|
||
<a href="BModuleInfo.html" title="BModuleInfo">BModuleInfo</a>* <a href="BModuleInfo.html#b-module-info-new">b_module_info_new</a> (const gchar *filename);
|
||
gint <a href="BModuleInfo.html#b-module-infos-scan-dir">b_module_infos_scan_dir</a> (const gchar *dirname);
|
||
|
||
</pre></div><div class="refsect1" lang="en"><a name="id2553058"></a><h2>Object Hierarchy</h2><pre class="synopsis">
|
||
|
||
GObject
|
||
+----GTypeModule
|
||
+----BModuleInfo
|
||
</pre></div><div class="refsect1" lang="en"><a name="id2572824"></a><h2>Implemented Interfaces</h2><p>
|
||
BModuleInfo implements GTypePlugin.
|
||
</p></div><div class="refsect1" lang="en"><a name="id2572838"></a><h2>Description</h2><p>
|
||
|
||
</p></div><div class="refsect1" lang="en"><a name="id2572848"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2572853"></a><h3><a name="BModuleInfo-struct"></a>struct BModuleInfo</h3><pre class="programlisting">struct BModuleInfo;</pre><p>
|
||
The <a href="BModuleInfo.html" title="BModuleInfo">BModuleInfo</a> struct is considered private.
|
||
</p></div><hr><div class="refsect2" lang="en"><a name="id2572873"></a><h3><a name="b-module-info-new"></a>b_module_info_new ()</h3><pre class="programlisting"><a href="BModuleInfo.html" title="BModuleInfo">BModuleInfo</a>* b_module_info_new (const gchar *filename);</pre><p>
|
||
Creates a new <a href="BModuleInfo.html" title="BModuleInfo">BModuleInfo</a> object a loadable module.</p><p>
|
||
|
||
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>filename</tt></i><EFBFBD>:</span></td><td> the filename of the loadable module
|
||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a newly allocated <a href="BModuleInfo.html" title="BModuleInfo">BModuleInfo</a> object
|
||
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2572935"></a><h3><a name="b-module-infos-scan-dir"></a>b_module_infos_scan_dir ()</h3><pre class="programlisting">gint b_module_infos_scan_dir (const gchar *dirname);</pre><p>
|
||
Scans the given directory for loadable modules and registers the
|
||
types implemented by the found modules.</p><p>
|
||
|
||
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>dirname</tt></i><EFBFBD>:</span></td><td> the name of the directory to scan or <tt class="literal">NULL</tt> to use the
|
||
default directory
|
||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the number of successfully registered modules
|
||
</td></tr></tbody></table></div></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="blib-BModule-Utilities.html"><b><<<EFBFBD>BModule Utilities</b></a></td><td align="right"><a accesskey="n" href="blib-BModule-Internal-API.html"><b>BModule Internal API<50>>></b></a></td></tr></table></body></html>
|