<!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: main.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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="classes.html"><span>Classes</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul></div> <h1>main.h</h1><a href="main_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_MAIN_H</span> <a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEMM_MAIN_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 <glibmm.h></span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <span class="comment">/* $Id: main.hg,v 1.10 2006/04/03 06:17:28 murrayc Exp $ */</span> <a name="l00010"></a>00010 <span class="comment">// -*- C++ -*- // this is for the .hg, I realize gensig puts one in</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="comment">/* main.h</span> <a name="l00013"></a>00013 <span class="comment"> * </span> <a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 1998 EMC Capital Management Inc.</span> <a name="l00015"></a>00015 <span class="comment"> * Developed by Havoc Pennington <hp@pobox.com></span> <a name="l00016"></a>00016 <span class="comment"> *</span> <a name="l00017"></a>00017 <span class="comment"> * Copyright (C) 1999 The Gtk-- Development Team</span> <a name="l00018"></a>00018 <span class="comment"> *</span> <a name="l00019"></a>00019 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00020"></a>00020 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00021"></a>00021 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00022"></a>00022 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00023"></a>00023 <span class="comment"> *</span> <a name="l00024"></a>00024 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00025"></a>00025 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00026"></a>00026 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00027"></a>00027 <span class="comment"> * Library General Public License for more details.</span> <a name="l00028"></a>00028 <span class="comment"> *</span> <a name="l00029"></a>00029 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00030"></a>00030 <span class="comment"> * License along with this library; if not, write to the Free</span> <a name="l00031"></a>00031 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00032"></a>00032 <span class="comment"> */</span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="preprocessor">#include <<a class="code" href="moduleinfo_8h.html">libgnomemm/moduleinfo.h</a>></span> <a name="l00035"></a>00035 <span class="preprocessor">#include <<a class="code" href="program_8h.html">libgnomemm/program.h</a>></span> <a name="l00036"></a>00036 <span class="preprocessor">#include <gtkmm/main.h></span> <a name="l00037"></a>00037 <span class="comment">//#include <libgnome/libgnome.h></span> <a name="l00038"></a>00038 <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="keyword">namespace </span>Gnome <a name="l00041"></a>00041 { <a name="l00042"></a>00042 <a name="l00043"></a><a class="code" href="classGnome_1_1Main.html">00043</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1Main.html">Main</a> : <span class="keyword">public</span> Gtk::<a class="code" href="classGnome_1_1Main.html">Main</a> <a name="l00044"></a>00044 { <a name="l00045"></a>00045 <span class="keyword">public</span>: <a name="l00046"></a>00046 <a name="l00062"></a>00062 <a class="code" href="classGnome_1_1Main.html#676da7cd431912fa68e4f9d1f43a2589">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, <a name="l00063"></a>00063 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, <a name="l00064"></a>00064 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv); <a name="l00065"></a>00065 <a name="l00087"></a>00087 <a class="code" href="classGnome_1_1Main.html#676da7cd431912fa68e4f9d1f43a2589">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, <a name="l00088"></a>00088 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, <a name="l00089"></a>00089 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv, <a name="l00090"></a>00090 <span class="keyword">const</span> <span class="keyword">struct</span> poptOption *options, <span class="keywordtype">int</span> flags, poptContext* return_ctx); <a name="l00091"></a>00091 <a name="l00109"></a>00109 <a class="code" href="classGnome_1_1Main.html#676da7cd431912fa68e4f9d1f43a2589">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, <a name="l00110"></a>00110 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, <a name="l00111"></a>00111 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv, <a name="l00112"></a>00112 Glib::OptionContext& options); <a name="l00113"></a>00113 <a name="l00114"></a>00114 <a class="code" href="classGnome_1_1Main.html#3a8d0b53a9988651cb22e22618da90d8">~Main</a>(); <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="keyword">protected</span>: <a name="l00117"></a>00117 <a class="code" href="classGnome_1_1Main.html#676da7cd431912fa68e4f9d1f43a2589">Main</a>(); <a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Main.html#de54889b940457c646d46e37b57a13cf">set_ids</a>(<span class="keyword">const</span> Glib::ustring& app_id,<span class="keyword">const</span> Glib::ustring& app_version); <a name="l00119"></a>00119 <a name="l00120"></a><a class="code" href="classGnome_1_1Main.html#597f262c3022c40446a02acb75dbc7f7">00120</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* <a class="code" href="classGnome_1_1Main.html#597f262c3022c40446a02acb75dbc7f7">app_id_</a>; <a name="l00121"></a><a class="code" href="classGnome_1_1Main.html#269b840cb081f67230508c601300e5cc">00121</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* <a class="code" href="classGnome_1_1Main.html#269b840cb081f67230508c601300e5cc">app_version_</a>; <a name="l00122"></a>00122 <a name="l00123"></a><a class="code" href="classGnome_1_1Main.html#a1390fe7570067b88c887f8f2c40b0d4">00123</a> Glib::RefPtr<Program> <a class="code" href="classGnome_1_1Main.html#a1390fe7570067b88c887f8f2c40b0d4">m_refProgram</a>; <a name="l00124"></a>00124 }; <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>00128 <a name="l00129"></a>00129 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEMM_MAIN_H */</span> <a name="l00130"></a>00130 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jan 17 11:50:20 2008 for libgnomemm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>