Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

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 #include <glibmm.h>
00007 
00008 /* $Id: main.hg,v 1.8 2005/02/03 12:34:00 murrayc Exp $ */
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* main.h
00012  * 
00013  * Copyright (C) 1998 EMC Capital Management Inc.
00014  * Developed by Havoc Pennington <hp@pobox.com>
00015  *
00016  * Copyright (C) 1999 The Gtk-- Development Team
00017  *
00018  * This library is free software; you can redistribute it and/or
00019  * modify it under the terms of the GNU Library General Public
00020  * License as published by the Free Software Foundation; either
00021  * version 2 of the License, or (at your option) any later version.
00022  *
00023  * This library is distributed in the hope that it will be useful,
00024  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00025  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00026  * Library General Public License for more details.
00027  *
00028  * You should have received a copy of the GNU Library General Public
00029  * License along with this library; if not, write to the Free
00030  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00031  */
00032 
00033 #include <libgnomemm/moduleinfo.h>
00034 #include <libgnomemm/program.h>
00035 #include <gtkmm/main.h>
00036 //#include <libgnome/libgnome.h>
00037 
00038 
00039 namespace Gnome
00040 {
00041 
00042 class Main : public Gtk::Main
00043 {
00044 public:
00045 
00061   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00062        const ModuleInfo& module_info,
00063        int argc, char** argv);
00064 
00084   Main(const Glib::ustring& app_id, const Glib::ustring& app_version,
00085        const ModuleInfo& module_info,
00086        int argc, char **argv,
00087        const struct poptOption *options, int flags, poptContext *return_ctx);
00088  
00089   ~Main();
00090   
00091 protected:
00092   Main();
00093   void set_ids(const Glib::ustring& app_id,const Glib::ustring& app_version);
00094 
00095   static char* app_id_;
00096   static char* app_version_;
00097 
00098   Glib::RefPtr<Program> m_refProgram;
00099 };
00100 
00101 } /* namespace Gnome */
00102 
00103 
00104 #endif /* _LIBGNOMEMM_MAIN_H */
00105 

Generated on Mon Mar 7 02:11:55 2005 for libgnomemm by  doxygen 1.4.0