Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
GeocodeDlg.h
1 //
2 // Name: GeocodeDlg.h
3 //
4 // Copyright (c) 2005-2011 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef __GeocodeDlg_H__
9 #define __GeocodeDlg_H__
10 
11 #include "VTBuilder_UI.h"
12 
13 // WDR: class declarations
14 
15 //----------------------------------------------------------------------------
16 // GeocodeDlg
17 //----------------------------------------------------------------------------
18 
20 {
21 public:
22  // constructors and destructors
23  GeocodeDlg( wxWindow *parent, wxWindowID id, const wxString &title,
24  const wxPoint& pos = wxDefaultPosition,
25  const wxSize& size = wxDefaultSize,
26  long style = wxDEFAULT_DIALOG_STYLE );
27 
28  bool m_bGeocodeUS;
29  bool m_bGazetteer;
30  bool m_bGNS;
31 
32  wxString m_strData;
33  wxString m_strGaz;
34  wxString m_strZip;
35  wxString m_strGNS;
36 
37  // WDR: method declarations for GeocodeDlg
38  wxButton* GetGetFileZip() { return (wxButton*) FindWindow( ID_GET_FILE_ZIP ); }
39  wxTextCtrl* GetFileZip() { return (wxTextCtrl*) FindWindow( ID_FILE_ZIP ); }
40  wxTextCtrl* GetFileGns() { return (wxTextCtrl*) FindWindow( ID_FILE_GNS ); }
41  wxTextCtrl* GetFileGaz() { return (wxTextCtrl*) FindWindow( ID_FILE_GAZ ); }
42  wxCheckBox* GetCheckUse3() { return (wxCheckBox*) FindWindow( ID_CHECK_USE3 ); }
43  wxCheckBox* GetCheckUse2() { return (wxCheckBox*) FindWindow( ID_CHECK_USE2 ); }
44  wxCheckBox* GetCheckUse1() { return (wxCheckBox*) FindWindow( ID_CHECK_USE1 ); }
45  wxTextCtrl* GetFileData() { return (wxTextCtrl*) FindWindow( ID_FILE_DATA ); }
46 
47 private:
48  // WDR: member variable declarations for GeocodeDlg
49 
50 private:
51  // WDR: handler declarations for GeocodeDlg
52  void OnGetFileZip( wxCommandEvent &event );
53  void OnGetFileGNS( wxCommandEvent &event );
54  void OnGetFileGaz( wxCommandEvent &event );
55  void OnGetFileData( wxCommandEvent &event );
56 
57 private:
58  DECLARE_EVENT_TABLE()
59 };
60 
61 
62 
63 
64 #endif