<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 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"> </head><body> <!-- Generated by Doxygen 1.3.3 --> <div class="qindex"><a class="qindex" href="index.html">Main 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a></div> <h1>main.h</h1><a href="main_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span> 00003 <span class="preprocessor">#ifndef _LIBGNOMEMM_MAIN_H</span> 00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEMM_MAIN_H</span> 00005 <span class="preprocessor"></span> 00006 <span class="preprocessor">#include <glibmm.h></span> 00007 00008 <span class="comment">/* $Id: main.hg,v 1.6 2002/11/28 12:10:05 murrayc Exp $ */</span> 00009 <span class="comment">// -*- C++ -*- // this is for the .hg, I realize gensig puts one in</span> 00010 00011 <span class="comment">/* main.h</span> 00012 <span class="comment"> * </span> 00013 <span class="comment"> * Copyright (C) 1998 EMC Capital Management Inc.</span> 00014 <span class="comment"> * Developed by Havoc Pennington <hp@pobox.com></span> 00015 <span class="comment"> *</span> 00016 <span class="comment"> * Copyright (C) 1999 The Gtk-- Development Team</span> 00017 <span class="comment"> *</span> 00018 <span class="comment"> * This library is free software; you can redistribute it and/or</span> 00019 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> 00020 <span class="comment"> * License as published by the Free Software Foundation; either</span> 00021 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> 00022 <span class="comment"> *</span> 00023 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> 00024 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> 00025 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> 00026 <span class="comment"> * Library General Public License for more details.</span> 00027 <span class="comment"> *</span> 00028 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> 00029 <span class="comment"> * License along with this library; if not, write to the Free</span> 00030 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> 00031 <span class="comment"> */</span> 00032 00033 <span class="preprocessor">#include <<a class="code" href="moduleinfo_8h.html">libgnomemm/moduleinfo.h</a>></span> 00034 <span class="preprocessor">#include <<a class="code" href="program_8h.html">libgnomemm/program.h</a>></span> 00035 <span class="preprocessor">#include <gtkmm/main.h></span> 00036 <span class="comment">//#include <libgnome/libgnome.h></span> 00037 00038 00039 <span class="keyword">namespace </span>Gnome 00040 { 00041 <a name="l00042"></a><a class="code" href="classGnome_1_1Main.html">00042</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> 00043 { 00044 <span class="keyword">public</span>: 00045 00046 <span class="comment">/* app_version should be defined in your auto-generated config.h file.</span> 00047 <span class="comment"> * The ModuleInfo should come from a call such as Gnome::ui_module_info_get()</span> 00048 <span class="comment"> */</span> 00049 <a class="code" href="classGnome_1_1Main.html#b0">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, 00050 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, 00051 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv); 00052 00053 <a class="code" href="classGnome_1_1Main.html#b0">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, 00054 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, 00055 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv, 00056 <span class="keyword">const</span> <span class="keyword">struct</span> poptOption *options, <span class="keywordtype">int</span> flags, poptContext *return_ctx); 00057 00058 <a class="code" href="classGnome_1_1Main.html#a2">~Main</a>(); 00059 00060 <span class="keyword">protected</span>: 00061 <a class="code" href="classGnome_1_1Main.html#b0">Main</a>(); 00062 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Main.html#b1">set_ids</a>(<span class="keyword">const</span> Glib::ustring& app_id,<span class="keyword">const</span> Glib::ustring& app_version); 00063 <a name="l00064"></a><a class="code" href="classGnome_1_1Main.html#t0">00064</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* <a class="code" href="classGnome_1_1Main.html#t0">app_id_</a>; <a name="l00065"></a><a class="code" href="classGnome_1_1Main.html#t1">00065</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* <a class="code" href="classGnome_1_1Main.html#t1">app_version_</a>; 00066 <a name="l00067"></a><a class="code" href="classGnome_1_1Main.html#p0">00067</a> Glib::RefPtr<Program> <a class="code" href="classGnome_1_1Main.html#p0">m_refProgram</a>; 00068 }; 00069 00070 } <span class="comment">/* namespace Gnome */</span> 00071 00072 00073 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEMM_MAIN_H */</span> 00074 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Aug 14 04:17:46 2003 for libgnomemm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> </body> </html>