Version: 0.6.0
createnetworkconndlg.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Remote)
3  * Purpose: Create network connection dialog
4  * Author: Baryshnikov Dmitriy (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2008-2010,2012 Bishop
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 
22 #pragma once
23 
24 #include "wxgis/remoteserverui/remoteserverui.h"
25 #include "wxgis/net/netfactory.h"
26 
27 #include <wx/wx.h>
28 #include <wx/xml/xml.h>
29 #include <wx/choicebk.h>
30 #include <wx/gdicmn.h>
31 #include <wx/font.h>
32 #include <wx/colour.h>
33 #include <wx/settings.h>
34 #include <wx/statline.h>
35 #include <wx/string.h>
36 #include <wx/sizer.h>
37 #include <wx/button.h>
38 #include <wx/dialog.h>
39 
40 
45 class wxGISCreateNetworkConnDlg : public wxDialog
46 {
47  DECLARE_CLASS(wxGISCreateNetworkConnDlg)
48 public:
49  wxGISCreateNetworkConnDlg( wxNetConnFactoryArray& apNetConn, wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create connection"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350, 450 ), long style = wxCAPTION | wxCLOSE_BOX | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxCLIP_CHILDREN );
51  wxXmlNode* const GetConnectionProperties(void);
52 protected:
53  void OnSaveBtnClick( wxCommandEvent& event );
54 protected:
55  wxXmlNode* m_pConnProps;
56 protected:
57  wxChoicebook* m_choicebook;
58  wxStdDialogButtonSizer* m_sdbSizer;
59  wxStaticLine* m_staticline1;
60  wxButton* m_sdbSizerSave;
61  wxButton* m_sdbSizerCancel;
62  wxBoxSizer* bSizer;
63  wxImageList m_ImageList;
64 private:
65  DECLARE_EVENT_TABLE()
66 };
67 
68 
The create network connection dialog.
Definition: createnetworkconndlg.h:45