00001 00002 // MathGUI = a WYSIWYG equation editor + a powerful math engine // 00003 // Copyright (C) 2003 by Francesco Montorsi // 00004 // // 00005 // This library is free software; you can redistribute it and/or // 00006 // modify it under the terms of the GNU Lesser General Public // 00007 // License as published by the Free Software Foundation; either // 00008 // version 2.1 of the License, or (at your option) any later // 00009 // version. // 00010 // // 00011 // This library is distributed in the hope that it will be useful, // 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of // 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // 00014 // GNU Lesser General Public License for more details. // 00015 // // 00016 // You should have received a copy of the GNU Lesser General Public // 00017 // License along with this program; if not, write to the Free // 00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, // 00019 // MA 02111-1307, USA. // 00020 // // 00021 // For any comment, suggestion or feature request, please contact // 00022 // the administrator of the project at frm@users.sourceforge.net // 00023 // // 00025 // \file OptBasePanel.h 00026 // \brief Defines the mgOptBasePanel class. 00027 // 00028 // See OptBasePanel.cpp for more info. 00030 00031 00032 00033 00034 #ifndef DIALOGS_BASEPANEL_H 00035 #define DIALOGS_BASEPANEL_H 00036 00037 00038 #if defined(__GNUG__) && !defined(__APPLE__) 00039 #pragma interface "OptBasePanel.h" 00040 #endif 00041 00042 // includes 00043 #include "wx/string.h" 00044 #include "mg/OptDlg.h" 00045 class wxConfig; 00046 00047 00116 class mgOptBasePanel : public wxPanel 00117 { 00118 public: 00120 mgOptBasePanel() {} 00121 00123 virtual ~mgOptBasePanel() {} 00124 00125 00126 00128 00153 virtual mgOptDlg::mgOptChangedType CommitChanges( wxConfig* config ) = 0; 00154 00155 00157 00174 virtual void Setup( const wxString &itemLabel ) = 0; 00175 00176 00177 00178 private: 00179 DECLARE_ABSTRACT_CLASS( mgOptBasePanel ) 00180 }; 00181 00182 00183 #endif // not defined DIALOGS_BASEPANEL_H 00184 00185
[ Top ] |