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  * z2se
00003  * Copyright (C) 2004-2005 emuWorks
00004  * http://games.technoplaza.net/
00005  *
00006  * This file is part of z2se.
00007  *
00008  * z2se 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  * z2se 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 z2se; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00021  */
00022 
00023 // $Id: GenApp.hh,v 1.2 2005/08/04 05:23:21 technoplaza Exp $
00024 
00025 #ifndef _GEN_APP_HH
00026 #define _GEN_APP_HH
00027 
00028 /**
00029  * Private namespace used by all emuWorks programs.
00030  */
00031 namespace emuWorks {
00032     /**
00033      * The main class. Initializes the application and creates the view.
00034      */
00035     class GenApp : public wxApp {
00036     public:
00037         /**
00038          * Called by wxWidgets to start initialization of the application.
00039          *
00040          * @return true if initialization should proceed; false otherwise.
00041          */
00042         virtual bool OnInit();
00043         
00044         /// The short name of the application.
00045         static const wxString *APP_NAME;
00046         
00047         /// The full name of the application
00048         static const wxString *APP_FULL_NAME;
00049         
00050         /// The version of the application.
00051         static const wxString *APP_VERSION;
00052         
00053         /// The copyright notice for the application.
00054         static const wxString *APP_COPYRIGHT;
00055         
00056         /// The website URL for this application.
00057         static const wxString *APP_URL;
00058     private:
00059         DECLARE_CLASS(GenApp)
00060     };
00061     
00062     DECLARE_APP(GenApp)
00063 }
00064 
00065 #endif

Generated on Thu Aug 4 00:30:33 2005 for Zelda II SRAM Editor by  doxygen 1.4.4