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
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 
00036 class Application
00037 {
00038 public:
00039         Application (string name, string datadir = DATADIR);
00040         virtual ~Application ();
00041 
00042         void OnHelp (string s = "");
00043         bool HasHelp ();
00044         string &GetName () {return Name;}
00045 
00046 private:
00047         string Name;
00048         string HelpBrowser;
00049         string HelpFilename;
00050 };
00051 
00052 }       // namespace gcu
00053 
00054 #endif // GCU_APPLICATION_H

Generated on Sun Jan 1 14:15:49 2006 for The Gnome Chemistry Utils by  doxygen 1.4.1