00001 /* Eliot */ 00002 /* Copyright (C) 1999 Antoine Fraboulet */ 00003 /* Antoine.Fraboulet@free.fr */ 00004 /* */ 00005 /* This program is free software; you can redistribute it and/or modify */ 00006 /* it under the terms of the GNU General Public License as published by */ 00007 /* the Free Software Foundation; either version 2 of the License, or */ 00008 /* (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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 00018 00019 #ifndef _CONFSEARCH_H 00020 #define _CONFSEARCH_H 00021 00022 #include "wx/button.h" 00023 #include "wx/dialog.h" 00024 #include "wx/checkbox.h" 00025 #include "configdb.h" 00026 00027 class ConfSearchDlg : public wxDialog 00028 { 00029 private: 00030 ConfigDB config; 00031 00032 wxButton *bok; 00033 wxButton *bcancel; 00034 00035 wxCheckBox *joker_searching; 00036 wxCheckBox *rack_checking; 00037 00038 void readconf(); 00039 void writeconf(); 00040 00041 public: 00042 00043 ConfSearchDlg(wxWindow* parent); 00044 void OnButtonOk (wxCommandEvent& event); 00045 void OnButtonCancel(wxCommandEvent& event); 00046 void OnCloseWindow (wxCloseEvent& event); 00047 00048 DECLARE_EVENT_TABLE() 00049 }; 00050 #endif