Version: 0.6.0
gxdbconnectionsui.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: wxGxDBConnectionsUI class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2011-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 #include "wxgis/catalogui/catalogui.h"
24 #include "wxgis/catalog/gxdbconnections.h"
25 #include "wxgis/catalogui/gxfolderui.h"
26 #include "wxgis/catalogui/gxview.h"
27 
35 class WXDLLIMPEXP_GIS_CLU wxGxDBConnectionsUI :
36  public wxGxDBConnections,
37  public IGxObjectUI,
38  public IGxDropTarget,
39  public wxGxAutoRenamer
40 {
41  DECLARE_DYNAMIC_CLASS(wxGxDBConnectionsUI)
42 public:
43  wxGxDBConnectionsUI(void);
44  virtual ~wxGxDBConnectionsUI(void);
45  //IGxObjectUI
46  virtual wxIcon GetLargeImage(void);
47  virtual wxIcon GetSmallImage(void);
48  virtual wxString ContextMenu(void) const {return wxString(wxT("wxGxDBConnections.ContextMenu"));};
49  virtual wxString NewMenu(void) const {return wxString(wxT("wxGxDBConnections.NewMenu"));};
50  //IGxDropTarget
51  virtual bool Drop(const wxArrayString& saGxObjectPaths, bool bMove);
52 protected:
53  wxIcon m_LargeIcon, m_SmallIcon;
54 };
Definition: catalogui.h:73
Definition: gxdbconnections.h:35
Definition: catalogui.h:128
Definition: gxdbconnectionsui.h:35
Definition: gxview.h:65