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

source/GenApp.hh

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

Generated on Fri Dec 10 11:33:56 2004 for Zelda II SRAM Editor by  doxygen 1.3.9.1