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: hack4u.hh,v 1.6 2004/12/05 02:59:28 technoplaza Exp $ 00021 00022 #ifndef _HACK4U_HH 00023 #define _HACK4U_HH 00024 00025 #include <wx/xrc/xmlres.h> 00026 00027 /** 00028 * Private hack4u namespace is used for all classs and members of this project. 00029 */ 00030 namespace hack4u { 00031 /** 00032 * The main class. Initializes the application and creates the view. 00033 */ 00034 class Hack4u : public wxApp { 00035 public: 00036 /** 00037 * Called by wxWidgets to start initialization of the application. 00038 * 00039 * @return true if initialization should proceed; false otherwise. 00040 */ 00041 virtual bool OnInit(); 00042 00043 /// The name of the application. 00044 static const wxString *APP_NAME; 00045 00046 /// The version of the application. 00047 static const wxString *APP_VERSION; 00048 00049 /// The copyright notice for the application. 00050 static const wxString *APP_COPYRIGHT; 00051 00052 /// The website URL for this application. 00053 static const wxString *APP_URL; 00054 private: 00055 DECLARE_CLASS(Hack4u) 00056 }; 00057 00058 DECLARE_APP(Hack4u) 00059 }; 00060 00061 #endif 00062