<!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"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <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">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="nav"> <a class="el" href="dir_000000.html">libgnome</a> / <a class="el" href="dir_000001.html">libgnomemm</a></div> <h1>main.h</h1><a href="main_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_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.8 2005/02/03 12:34:00 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 00061 <a class="code" href="classGnome_1_1Main.html">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, 00062 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, 00063 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv); 00064 00084 <a class="code" href="classGnome_1_1Main.html">Main</a>(<span class="keyword">const</span> Glib::ustring& app_id, <span class="keyword">const</span> Glib::ustring& app_version, 00085 <span class="keyword">const</span> <a class="code" href="classGnome_1_1ModuleInfo.html">ModuleInfo</a>& module_info, 00086 <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv, 00087 <span class="keyword">const</span> <span class="keyword">struct</span> poptOption *options, <span class="keywordtype">int</span> flags, poptContext *return_ctx); 00088 00089 ~<a class="code" href="classGnome_1_1Main.html">Main</a>(); 00090 00091 <span class="keyword">protected</span>: 00092 <a class="code" href="classGnome_1_1Main.html">Main</a>(); 00093 <span class="keywordtype">void</span> set_ids(<span class="keyword">const</span> Glib::ustring& app_id,<span class="keyword">const</span> Glib::ustring& app_version); 00094 <a name="l00095"></a><a class="code" href="classGnome_1_1Main.html#t0">00095</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* app_id_; <a name="l00096"></a><a class="code" href="classGnome_1_1Main.html#t1">00096</a> <span class="keyword">static</span> <span class="keywordtype">char</span>* app_version_; 00097 <a name="l00098"></a><a class="code" href="classGnome_1_1Main.html#p0">00098</a> Glib::RefPtr<Program> m_refProgram; 00099 }; 00100 00101 } <span class="comment">/* namespace Gnome */</span> 00102 00103 00104 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEMM_MAIN_H */</span> 00105 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Mar 7 11:08:42 2005 for libgnomemm by <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>