00001 /* 00002 * dwsrame - Dragon Warrior SRAM Editor 00003 * Copyright (C) 2006-2008 emuWorks 00004 * http://games.technoplaza.net/ 00005 * 00006 * This file is part of dwsrame. 00007 * 00008 * dwsrame is free software; you can redistribute it and/or modify it under the 00009 * terms of the GNU General Public License as published by the Free Software 00010 * Foundation; either version 2 of the License, or (at your option) any later 00011 * version. 00012 * 00013 * dwsrame is distributed in the hope that it will be useful, but WITHOUT ANY 00014 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00015 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License along with 00018 * dwsrame; if not, write to the Free Software Foundation, Inc., 00019 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 */ 00021 00022 // $Id: dwsrame.hh,v 1.4 2008/12/15 22:48:11 jdratlif Exp $ 00023 00024 #ifndef _DWSRAME_HH_ 00025 #define _DWSRAME_HH_ 00026 00027 /// The project namespace 00028 namespace dwsrame { 00029 class MainFrame; 00030 00031 /// The main application class 00032 class dwsrameApp : public wxApp { 00033 DECLARE_CLASS(dwsrameApp) 00034 00035 private: 00036 MainFrame *frame; 00037 00038 public: 00039 /** 00040 * Called to initialize the application. 00041 * 00042 * @return true on successful initialization; false otherwise. 00043 */ 00044 virtual bool OnInit(); 00045 }; 00046 00047 DECLARE_APP(dwsrameApp) 00048 } 00049 00050 #endif 00051