Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > 851aab158165f05e21cfa6e9c76026db > files > 64

libgnomemm2.6_1-devel-2.10.0-1mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libgnomemm: moduleinfo.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">libgnome</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">libgnomemm</a></div>
<h1>moduleinfo.h</h1><a href="moduleinfo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">// -*- c++ -*-</span>
00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span>
00003 <span class="preprocessor">#ifndef _LIBGNOMEMM_MODULEINFO_H</span>
00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEMM_MODULEINFO_H</span>
00005 <span class="preprocessor"></span>
00006 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
00007 
00008 <span class="comment">/* $Id: moduleinfo.hg,v 1.5 2002/04/01 16:54:24 murrayc Exp $ */</span>
00009 
00010 <span class="comment">/* moduleinfo.h</span>
00011 <span class="comment"> *</span>
00012 <span class="comment"> * Copyright 2001      Free Software Foundation</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
00015 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
00016 <span class="comment"> * License as published by the Free Software Foundation; either</span>
00017 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
00020 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00021 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
00022 <span class="comment"> * Library General Public License for more details.</span>
00023 <span class="comment"> *</span>
00024 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
00025 <span class="comment"> * License along with this library; if not, write to the Free</span>
00026 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
00027 <span class="comment"> */</span>
00028 
00029 <span class="preprocessor">#include &lt;glibmm/containers.h&gt;</span>
00030 <span class="preprocessor">#include &lt;libgnome/gnome-program.h&gt;</span>
00031 
00032 
00033 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00034 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { <span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeModuleInfo GnomeModuleInfo; }
00035 <span class="preprocessor">#endif</span>
00036 <span class="preprocessor"></span>
00037 <span class="keyword">namespace </span>Gnome
00038 {
00039 
00040 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00041 <span class="preprocessor"></span><span class="comment">//The C copy and free functions are hidden, but they are registered:</span>
00042 GnomeModuleInfo* gnomemm_module_info_copy(<span class="keyword">const</span> GnomeModuleInfo* src);
00043 <span class="keywordtype">void</span> gnomemm_module_info_free(GnomeModuleInfo* src);
00044 <span class="preprocessor">#endif //DOXYGEN_SHOULD_SKIP_THIS</span>
00045 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="classGnome_1_1ModuleInfo.html">00046</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>
00047 {
00048   <span class="keyword">public</span>:
00049 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00050 <span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a> CppObjectType;
00051   <span class="keyword">typedef</span> GnomeModuleInfo BaseObjectType;
00052 
00053   <span class="keyword">static</span> GType get_type() G_GNUC_CONST;
00054 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00055 
00056 
00057   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>(GnomeModuleInfo* gobject, <span class="keywordtype">bool</span> make_a_copy = <span class="keyword">true</span>);
00058 
00059   <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
00060   <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
00061 
00062   ~<a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>();
00063 
00064   <span class="keywordtype">void</span> swap(<a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
00065 
<a name="l00067"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a5">00067</a>   GnomeModuleInfo*       gobj()       { <span class="keywordflow">return</span> gobject_; }
00068 
<a name="l00070"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a6">00070</a>   <span class="keyword">const</span> GnomeModuleInfo* gobj()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> gobject_; }
00071 
00073   GnomeModuleInfo* gobj_copy() <span class="keyword">const</span>;
00074 
00075 <span class="keyword">protected</span>:
<a name="l00076"></a><a class="code" href="classGnome_1_1ModuleInfo.html#p0">00076</a>   GnomeModuleInfo* gobject_;
00077 
00078 <span class="keyword">private</span>:
00079 
00080 <span class="keyword">public</span>:
00081 
00082   
00083   <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>();
00084 
00086   <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>(<span class="keyword">const</span> gchar* name, <span class="keyword">const</span> gchar* version, <span class="keyword">const</span> gchar* description);
00087 
00088 
00089   Glib::ustring get_name() <span class="keyword">const</span>;
00090   Glib::ustring get_version() <span class="keyword">const</span>;
00091   Glib::ustring get_description() <span class="keyword">const</span>;
00092 
00093   <span class="comment">//requirements array must be statically allocated.</span>
00094   <span class="comment">//last element has NULL version</span>
00095   <span class="keywordtype">void</span> set_requirements(GnomeModuleRequirement* requirements);
00096 
00097   <span class="keywordtype">void</span> set_post_args_parse(GnomeModuleHook function);
00098 
00099 <span class="comment">//</span>
00100 <span class="comment">//   GnomeModuleHook instance_init;</span>
00101 <span class="comment">//   GnomeModuleHook pre_args_parse, post_args_parse;</span>
00102 <span class="comment">//</span>
00103 <span class="comment">//   struct poptOption *options;</span>
00104 <span class="comment">//</span>
00105 <span class="comment">//   GnomeModuleInitHook init_pass;</span>
00106 <span class="comment">//</span>
00107 <span class="comment">//   GnomeModuleClassInitHook class_init;</span>
00108 
00109 
00110 };
00111 
00112 } <span class="comment">//namespace Gnome</span>
00113 
00114 
00115 <span class="keyword">namespace </span>Gnome
00116 {
00117 
<a name="l00122"></a><a class="code" href="classGnome_1_1ModuleInfo.html#m0">00122</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> swap(<a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; lhs, <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; rhs)
00123   { lhs.<a class="code" href="classGnome_1_1ModuleInfo.html#a4">swap</a>(rhs); }
00124 
00125 } <span class="comment">// namespace Gnome</span>
00126 
<a name="l00127"></a><a class="code" href="namespaceGlib.html">00127</a> <span class="keyword">namespace </span>Glib
00128 {
00129 
00135 <a class="code" href="classGnome_1_1ModuleInfo.html">Gnome::ModuleInfo</a> wrap(GnomeModuleInfo* object, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>);
00136 
00137 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00138 <span class="preprocessor"></span><span class="keyword">template</span> &lt;&gt;
00139 <span class="keyword">class </span>Value&lt;Gnome::ModuleInfo&gt; : <span class="keyword">public</span> Glib::Value_Boxed&lt;Gnome::ModuleInfo&gt;
00140 {};
00141 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00142 
00143 } <span class="comment">// namespace Glib</span>
00144 
00145 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEMM_MODULEINFO_H */</span>
00146 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Mar 7 11:08:42 2005 for libgnomemm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>