Version: 0.6.0
gxremoteserversui.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Remote)
3  * Purpose: wxGxRemoteServersUI class.
4  * Author: Baryshnikov Dmitriy (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 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 #include "wxgis/catalogui/catalogui.h"
24 //#include "wxgis/remoteserverui/remoteserverui.h"
25 #include "wxgis/remoteserver/gxremoteservers.h"
26 
30 class WXDLLIMPEXP_GIS_RSU wxGxRemoteServersUI :
31  public wxGxRemoteServers,
32  public IGxObjectUI
33 {
34  DECLARE_DYNAMIC_CLASS(wxGxRemoteServersUI)
35 public:
36  wxGxRemoteServersUI(void);
37  virtual ~wxGxRemoteServersUI(void);
38  //IGxObjectUI
39  virtual wxIcon GetLargeImage(void);
40  virtual wxIcon GetSmallImage(void);
41  virtual wxString ContextMenu(void) const {return wxString(wxT("wxGxRemoteServersUI.ContextMenu"));};
42  virtual wxString NewMenu(void) const {return wxString(wxT("wxGxRemoteServersUI.NewMenu"));};
43  //wxGxRemoteServersUI
44  virtual void CreateConnection(wxWindow* pParent);
45  /*virtual void LoadChildren();
46  virtual void EmptyChildren(void);
47  */
48 protected:
49  //wxGxXMLConnectionStorage
50  virtual wxGxObject* CreateChildGxObject(const wxXmlNode* pNode);
51 protected:
52  wxIcon m_RemServs16, m_RemServs48;
53  wxIcon m_RemServ16, m_RemServ48;
54  wxIcon m_RemServDsbl16, m_RemServDsbl48;
55  wxIcon m_RemServAuth16, m_RemServAuth48;
56 };
A Remote Servers UI GxRootObject.
Definition: gxremoteserversui.h:30
A Remote Servers GxRootObject.
Definition: gxremoteservers.h:34
Definition: catalogui.h:73
Definition: gxobject.h:37