Version: 0.6.0
gxwebconnections.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: wxGxWebConnections class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2013 Dmitry Baryshnikov
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 #pragma once
22 
23 
24 #include "wxgis/catalog/catalog.h"
25 #include "wxgis/catalog/gxfolder.h"
26 #include "wxgis/catalog/gxcatalog.h"
27 #include "wxgis/catalog/gxevent.h"
28 
36 class WXDLLIMPEXP_GIS_CLT wxGxWebConnections :
37  public wxGxFolder,
39 {
40  DECLARE_DYNAMIC_CLASS(wxGxWebConnections)
41 public:
42  wxGxWebConnections(void);
43  virtual ~wxGxWebConnections(void);
44  //wxGxObject
45  virtual bool Create(wxGxObject *oParent = NULL, const wxString &soName = wxEmptyString, const CPLString &soPath = "");
46  virtual wxString GetCategory(void) const { return wxString(_("Web services folder")); };
47  virtual void Refresh(void);
48  //wxGxObjectContainer
49  virtual bool CanCreate(long nDataType, long DataSubtype);
50  //wxGxObjectContainer
51  virtual bool AreChildrenViewable(void) const {return true;};
52  //IGxRootObjectProperties
53  virtual void Init(wxXmlNode* const pConfigNode);
54  virtual void Serialize(wxXmlNode* const pConfigNode);
55 protected:
56  virtual void StartWatcher(void);
57  virtual void LoadChildren(void);
58 protected:
59  wxString m_sInternalPath;
60  wxGxCatalog* m_pCatalog;
61 };
62 
63 
Definition: gxfolder.h:33
Definition: gxwebconnections.h:36
Definition: gxcatalog.h:42
Definition: catalog.h:72
Definition: gxobject.h:37