main.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGNOMEMM_MAIN_H
00004 #define _LIBGNOMEMM_MAIN_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: main.hg,v 1.10 2006/04/03 06:17:28 murrayc Exp $ */
00010 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00011 
00012 /* main.h
00013  * 
00014  * Copyright (C) 1998 EMC Capital Management Inc.
00015  * Developed by Havoc Pennington <hp@pobox.com>
00016  *
00017  * Copyright (C) 1999 The Gtk-- Development Team
00018  *
00019  * This library is free software; you can redistribute it and/or
00020  * modify it under the terms of the GNU Library General Public
00021  * License as published by the Free Software Foundation; either
00022  * version 2 of the License, or (at your option) any later version.
00023  *
00024  * This library is distributed in the hope that it will be useful,
00025  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00026  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00027  * Library General Public License for more details.
00028  *
00029  * You should have received a copy of the GNU Library General Public
00030  * License along with this library; if not, write to the Free
00031  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00032  */
00033 
00034 #include <libgnomemm/moduleinfo.h>
00035 #include <libgnomemm/program.h>
00036 #include <gtkmm/main.h>
00037 //#include <libgnome/libgnome.h>
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 class Main : public Gtk::Main
00044 {
00045 public:
00046 
00062   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00063        const ModuleInfo& module_info,
00064        int argc, char** argv);
00065 
00087   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00088        const ModuleInfo& module_info,
00089        int argc, char **argv,
00090        const struct poptOption *options, int flags, poptContext* return_ctx);
00091  
00109   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00110        const ModuleInfo& module_info,
00111        int argc, char **argv,
00112        Glib::OptionContext& options);
00113  
00114   ~Main();
00115   
00116 protected:
00117   Main();
00118   void set_ids(const Glib::ustring& app_id,const Glib::ustring& app_version);
00119 
00120   static char* app_id_;
00121   static char* app_version_;
00122 
00123   Glib::RefPtr<Program> m_refProgram;
00124 };
00125 
00126 } /* namespace Gnome */
00127 
00128 
00129 #endif /* _LIBGNOMEMM_MAIN_H */
00130 

Generated on Wed Sep 6 14:43:47 2006 for libgnomemm by  doxygen 1.4.7