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

hack4u.hh

Go to the documentation of this file.
00001 /*
00002  * hack4u
00003  * Copyright (C) 2004-2005 emuWorks
00004  * http://games.technoplaza.net/
00005  *
00006  * This file is part of hack4u.
00007  *
00008  * hack4u is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * hack4u is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with hack4u; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00021  */
00022 
00023 // $Id: hack4u.hh,v 1.7 2005/08/03 11:11:39 technoplaza Exp $
00024  
00025 #ifndef _HACK4U_HH
00026 #define _HACK4U_HH
00027 
00028 #include <wx/xrc/xmlres.h>
00029 
00030 /**
00031  * Private hack4u namespace is used for all classs and members of this project.
00032  */
00033 namespace hack4u {
00034     /**
00035      * The main class. Initializes the application and creates the view.
00036      */
00037     class Hack4u : public wxApp {
00038     public:
00039         /**
00040          * Called by wxWidgets to start initialization of the application.
00041          *
00042          * @return true if initialization should proceed; false otherwise.
00043          */
00044         virtual bool OnInit();
00045         
00046         /// The name of the application.
00047         static const wxString *APP_NAME;
00048         
00049         /// The version of the application.
00050         static const wxString *APP_VERSION;
00051         
00052         /// The copyright notice for the application.
00053         static const wxString *APP_COPYRIGHT;
00054         
00055         /// The website URL for this application.
00056         static const wxString *APP_URL;
00057     private:
00058         DECLARE_CLASS(Hack4u)
00059     };
00060     
00061     DECLARE_APP(Hack4u)
00062 };
00063 
00064 #endif
00065 

Generated on Wed Aug 3 20:38:52 2005 for hack4u by  doxygen 1.4.4