Updated FSF address in all files. Fixes ticket:51
[debian/gnuradio] / ezdop / src / host / hunter / src / calibrate.h
1 /*
2  Copyright 2006 Johnathan Corgan.
3  
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License version 2
6  as published by the Free Software Foundation.
7  
8  This software is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  GNU General Public License for more details.
12  
13  You should have received a copy of the GNU General Public License
14  along with GNU Radio; see the file COPYING.  If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street,
16  Boston, MA 02110-1301, USA.
17 */
18
19 #ifndef __CALIBRATE_H__
20 #define __CALIBRATE_H__
21
22 // wxWidgets includes
23 #include <wx/event.h>
24 #include <wx/dialog.h>
25 #include <wx/gauge.h>  // Can't forward declare because wxGauge is a macro
26
27 // Forward declarations
28 class wxStaticText;
29 class HunterFrame;
30 class wxButton;
31
32 class CalibrationDialog : public wxDialog
33 {
34 public:
35     CalibrationDialog(HunterFrame *parent);
36     
37 private:
38     void OnStart(wxCommandEvent &event);
39     void OnCancelOrZero(wxCommandEvent &event);
40
41     HunterFrame *m_hunter_frame;
42     wxGauge *m_progress_gauge;
43     wxStaticText *m_progress_text;
44     wxStaticText *m_instructions_text;
45     wxButton *m_start_button;
46     wxButton *m_cancel_button;
47     bool m_cancelled;
48     bool m_equalized;
49             
50     DECLARE_EVENT_TABLE();
51 };
52
53 #endif // __CALIBRATE_H__