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