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.8 2005/02/03 12:34:00 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 
00085   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00086        const ModuleInfo& module_info,
00087        int argc, char **argv,
00088        const struct poptOption *options, int flags, poptContext *return_ctx);
00089  
00090   ~Main();
00091   
00092 protected:
00093   Main();
00094   void set_ids(const Glib::ustring& app_id,const Glib::ustring& app_version);
00095 
00096   static char* app_id_;
00097   static char* app_version_;
00098 
00099   Glib::RefPtr<Program> m_refProgram;
00100 };
00101 
00102 } /* namespace Gnome */
00103 
00104 
00105 #endif /* _LIBGNOMEMM_MAIN_H */
00106 

Generated on Fri Aug 4 02:54:17 2006 for libgnomemm by  doxygen 1.4.7