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

application.h

00001 // -*- C++ -*-
00002 
00003 /* 
00004  * Gnome Chemistry Utils
00005  * gcu/application.h
00006  *
00007  * Copyright (C) 2005-2006
00008  *
00009  * Developed by Jean Bréfort <jean.brefort@normalesup.org>
00010  *
00011  * This program is free software; you can redistribute it and/or 
00012  * modify it under the terms of the GNU General Public License as 
00013  * published by the Free Software Foundation; either version 2 of the
00014  * License, or (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00024  * USA
00025  */
00026 
00027 #ifndef GCU_APPLICATION_H
00028 #define GCU_APPLICATION_H
00029 
00030 #include <string>
00031 
00032 using namespace std;
00033 
00034 namespace gcu {
00035 
00039 class Application
00040 {
00041 public:
00050         Application (string name, string datadir = DATADIR);
00051         virtual ~Application ();
00052 
00061         void OnHelp (string s = "");
00065         bool HasHelp ();
00069         string &GetName () {return Name;}
00070 
00071 private:
00072         string Name;
00073         string HelpBrowser;
00074         string HelpFilename;
00075 };
00076 
00077 }       // namespace gcu
00078 
00079 #endif // GCU_APPLICATION_H

Generated on Wed Feb 8 09:59:43 2006 for The Gnome Chemistry Utils by  doxygen 1.4.1