Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release > by-pkgid > 87b2cbc2f2d1a1b27119c8c080679c13 > files > 77

libgnomemm2.6-devel-2.30.0-9.mga6.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libgnomemm: moduleinfo.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
<h1>moduleinfo.h</h1><a href="moduleinfo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef _LIBGNOMEMM_MODULEINFO_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEMM_MODULEINFO_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="comment">/* $Id: moduleinfo.hg,v 1.5 2002/04/01 16:54:24 murrayc Exp $ */</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">/* moduleinfo.h</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * Copyright 2001      Free Software Foundation</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00016"></a>00016 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00017"></a>00017 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00018"></a>00018 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00023"></a>00023 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00024"></a>00024 <span class="comment"> *</span>
<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00026"></a>00026 <span class="comment"> * License along with this library; if not, write to the Free</span>
<a name="l00027"></a>00027 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00028"></a>00028 <span class="comment"> */</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;glibmm/containers.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;libgnome/gnome-program.h&gt;</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> { <span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeModuleInfo GnomeModuleInfo; }
<a name="l00036"></a>00036 <span class="preprocessor">#endif</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <span class="keyword">namespace </span>Gnome
<a name="l00039"></a>00039 {
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="comment">//The C copy and free functions are hidden, but they are registered:</span>
<a name="l00043"></a>00043 GnomeModuleInfo* gnomemm_module_info_copy(<span class="keyword">const</span> GnomeModuleInfo* src);
<a name="l00044"></a>00044 <span class="keywordtype">void</span> gnomemm_module_info_free(GnomeModuleInfo* src);
<a name="l00045"></a>00045 <span class="preprocessor">#endif //DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a><a class="code" href="classGnome_1_1ModuleInfo.html">00047</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049   <span class="keyword">public</span>:
<a name="l00050"></a>00050 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a> CppObjectType;
<a name="l00052"></a>00052   <span class="keyword">typedef</span> GnomeModuleInfo BaseObjectType;
<a name="l00053"></a>00053 
<a name="l00054"></a>00054   <span class="keyword">static</span> GType get_type() G_GNUC_CONST;
<a name="l00055"></a>00055 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 
<a name="l00058"></a>00058   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1ModuleInfo.html#aeed9cfc0df2e9c2b9c143e1b5a9a4b3d">ModuleInfo</a>(GnomeModuleInfo* gobject, <span class="keywordtype">bool</span> make_a_copy = <span class="keyword">true</span>);
<a name="l00059"></a>00059 
<a name="l00060"></a>00060   <a class="code" href="classGnome_1_1ModuleInfo.html#aeed9cfc0df2e9c2b9c143e1b5a9a4b3d">ModuleInfo</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
<a name="l00061"></a>00061   <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; <a class="code" href="classGnome_1_1ModuleInfo.html#a0cad93a5d0390e78e25bb61d71333e7e">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
<a name="l00062"></a>00062 
<a name="l00063"></a>00063   <a class="code" href="classGnome_1_1ModuleInfo.html#aeff90d58e1fd6a547d8ae14a05c6fe71">~ModuleInfo</a>();
<a name="l00064"></a>00064 
<a name="l00065"></a>00065   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1ModuleInfo.html#aafa23c925b0d582fecd285abb9ad0ae9">swap</a>(<a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>&amp; other);
<a name="l00066"></a>00066 
<a name="l00068"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a3aaedaf3ecd60ac561d173a1659e04e1">00068</a>   GnomeModuleInfo*       <a class="code" href="classGnome_1_1ModuleInfo.html#a3aaedaf3ecd60ac561d173a1659e04e1" title="Provides access to the underlying C instance.">gobj</a>()       { <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1ModuleInfo.html#a30965713786f9e3de4d6f04ca7ce29af">gobject_</a>; }
<a name="l00069"></a>00069 
<a name="l00071"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a62518703119a6d0c428a54f88208e1c8">00071</a>   <span class="keyword">const</span> GnomeModuleInfo* <a class="code" href="classGnome_1_1ModuleInfo.html#a62518703119a6d0c428a54f88208e1c8" title="Provides access to the underlying C instance.">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1ModuleInfo.html#a30965713786f9e3de4d6f04ca7ce29af">gobject_</a>; }
<a name="l00072"></a>00072 
<a name="l00074"></a>00074   GnomeModuleInfo* <a class="code" href="classGnome_1_1ModuleInfo.html#ae77130c11ab55a5972015c80b987eebc" title="Provides access to the underlying C instance. The caller is responsible for freeing...">gobj_copy</a>() <span class="keyword">const</span>;
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <span class="keyword">protected</span>:
<a name="l00077"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a30965713786f9e3de4d6f04ca7ce29af">00077</a>   GnomeModuleInfo* <a class="code" href="classGnome_1_1ModuleInfo.html#a30965713786f9e3de4d6f04ca7ce29af">gobject_</a>;
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 <span class="keyword">private</span>:
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <span class="keyword">public</span>:
<a name="l00082"></a>00082 
<a name="l00083"></a>00083   
<a name="l00084"></a>00084   <a class="code" href="classGnome_1_1ModuleInfo.html#aeed9cfc0df2e9c2b9c143e1b5a9a4b3d">ModuleInfo</a>();
<a name="l00085"></a>00085 
<a name="l00087"></a>00087   <a class="code" href="classGnome_1_1ModuleInfo.html#aeed9cfc0df2e9c2b9c143e1b5a9a4b3d">ModuleInfo</a>(<span class="keyword">const</span> gchar* name, <span class="keyword">const</span> gchar* version, <span class="keyword">const</span> gchar* description);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 
<a name="l00090"></a>00090    Glib::ustring <a class="code" href="classGnome_1_1ModuleInfo.html#a905918f92f8fe38610c47411df5512b3">get_name</a>() <span class="keyword">const</span>;
<a name="l00091"></a>00091     Glib::ustring <a class="code" href="classGnome_1_1ModuleInfo.html#a530909722284b10de69edfd460c28d9a">get_version</a>() <span class="keyword">const</span>;
<a name="l00092"></a>00092     Glib::ustring <a class="code" href="classGnome_1_1ModuleInfo.html#a0217fed4d516341f62283d2fbe99670a">get_description</a>() <span class="keyword">const</span>;
<a name="l00093"></a>00093  
<a name="l00094"></a>00094   <span class="comment">//requirements array must be statically allocated.</span>
<a name="l00095"></a>00095   <span class="comment">//last element has NULL version</span>
<a name="l00096"></a>00096   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1ModuleInfo.html#ad06f7bf5e99e686ce3406ea6d3af91ac">set_requirements</a>(GnomeModuleRequirement* requirements);
<a name="l00097"></a>00097 
<a name="l00098"></a>00098   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1ModuleInfo.html#a3803c0856ed7981e39d4112a48dbe7dc">set_post_args_parse</a>(GnomeModuleHook function);
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <span class="comment">//</span>
<a name="l00101"></a>00101 <span class="comment">//   GnomeModuleHook instance_init;</span>
<a name="l00102"></a>00102 <span class="comment">//   GnomeModuleHook pre_args_parse, post_args_parse;</span>
<a name="l00103"></a>00103 <span class="comment">//</span>
<a name="l00104"></a>00104 <span class="comment">//   struct poptOption *options;</span>
<a name="l00105"></a>00105 <span class="comment">//</span>
<a name="l00106"></a>00106 <span class="comment">//   GnomeModuleInitHook init_pass;</span>
<a name="l00107"></a>00107 <span class="comment">//</span>
<a name="l00108"></a>00108 <span class="comment">//   GnomeModuleClassInitHook class_init;</span>
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 };
<a name="l00112"></a>00112 
<a name="l00113"></a>00113 } <span class="comment">//namespace Gnome</span>
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 
<a name="l00116"></a>00116 <span class="keyword">namespace </span>Gnome
<a name="l00117"></a>00117 {
<a name="l00118"></a>00118 
<a name="l00123"></a><a class="code" href="classGnome_1_1ModuleInfo.html#a75729c32d7c603bbddf8514f48c98bcb">00123</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)
<a name="l00124"></a>00124   { lhs.<a class="code" href="classGnome_1_1ModuleInfo.html#aafa23c925b0d582fecd285abb9ad0ae9">swap</a>(rhs); }
<a name="l00125"></a>00125 
<a name="l00126"></a>00126 } <span class="comment">// namespace Gnome</span>
<a name="l00127"></a>00127 
<a name="l00128"></a><a class="code" href="namespaceGlib.html">00128</a> <span class="keyword">namespace </span>Glib
<a name="l00129"></a>00129 {
<a name="l00130"></a>00130 
<a name="l00139"></a>00139 <a class="code" href="classGnome_1_1ModuleInfo.html">Gnome::ModuleInfo</a> wrap(GnomeModuleInfo* <span class="keywordtype">object</span>, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>);
<a name="l00140"></a>00140 
<a name="l00141"></a>00141 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="keyword">template</span> &lt;&gt;
<a name="l00143"></a>00143 <span class="keyword">class </span>Value&lt;Gnome::ModuleInfo&gt; : <span class="keyword">public</span> Glib::Value_Boxed&lt;Gnome::ModuleInfo&gt;
<a name="l00144"></a>00144 {};
<a name="l00145"></a>00145 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00146"></a>00146 
<a name="l00147"></a>00147 } <span class="comment">// namespace Glib</span>
<a name="l00148"></a>00148 
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEMM_MODULEINFO_H */</span>
<a name="l00151"></a>00151 
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 13:16:46 2009 for libgnomemm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>