24 #include "wxgis/net/netfactory.h"
25 #include "wxgis/net/netevent.h"
27 #include <wx/listctrl.h>
28 #include <wx/gdicmn.h>
30 #include <wx/colour.h>
31 #include <wx/settings.h>
32 #include <wx/string.h>
33 #include <wx/button.h>
36 #include <wx/dialog.h>
37 #include <wx/imaglist.h>
39 #include <wx/socket.h>
41 #include <wx/msgdlg.h>
42 #include <wx/xml/xml.h>
55 ID_SEARCHBT = wxID_HIGHEST + 4511,
60 wxGISSearchServerDlg(
INetConnFactory* pFactory, wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = _(
"Search Server"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize( 400,300 ),
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER );
62 virtual wxXmlNode* GetConnectionProperties()
const {
return m_pConnProps;};
65 virtual void CreateControls(
bool bShowGauge);
66 virtual void AddServer(wxXmlNode* pServerData);
68 void OnAccept( wxCommandEvent& event );
69 void OnAcceptUI( wxUpdateUIEvent& event );
70 void OnSearch( wxCommandEvent& event );
71 void OnSearchUI( wxUpdateUIEvent& event );
72 void OnStop( wxCommandEvent& event );
73 void OnStopUI( wxUpdateUIEvent& event );
77 wxListCtrl* m_listCtrl;
78 wxButton* m_button_search;
79 wxButton* m_button_stop;
80 wxButton* m_button_accept;
84 wxImageList m_ImageList;
86 wxXmlNode* m_pConnProps;
88 long m_nConnectionPointCookie;
The network connection factory interface class.
Definition: netfactory.h:33
Definition: netevent.h:34
The dialog to search remote servers.
Definition: serversearchdlg.h:48