00001 /* 00002 Copyright (C) 2002-2004 Jean-Francois Burroughs 00003 00004 This library is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU Lesser General Public License as 00006 published by the Free Software Foundation; either version 2.1 of the 00007 License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU Lesser General Public License for more details. 00013 00014 You should have received a copy of the GNU Lesser General Public 00015 License along with this library; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 00018 00019 Report problems and direct all questions to: 00020 00021 email: etienne.lachance@polymtl.ca or richard.gourdeau@polymtl.ca 00022 */ 00023 00024 #ifndef _APP_H 00025 #define _APP_H 00026 00032 00033 static const char header_app_rcsid[] = "$Id: app.h,v 1.6 2005/11/22 14:51:55 gourdeau Exp $"; 00034 00035 00036 #include <string> 00037 #include "MainFrame.h" 00038 00048 class App : public wxApp 00049 { 00050 public: 00051 00052 // Recreates m_locale according to lang 00053 void SelectLanguage(int lang) ; 00054 00055 virtual bool OnInit(); 00056 ~App(); 00057 private: 00058 wxLocale* m_locale; // 'our' locale 00059 }; 00060 DECLARE_APP(App) 00061 00062 #endif
1.5.1