Version: 0.6.0
remoteservercmd.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Remote)
3  * Purpose: Catalog Main Commands 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 
24 #include "wxgis/framework/command.h"
25 #include "wxgis/catalogui/gxapplication.h"
26 
32  public ICommand
33 {
34  DECLARE_DYNAMIC_CLASS(wxGISRemoteCmd)
35 public:
36  wxGISRemoteCmd(void);
37  virtual ~wxGISRemoteCmd(void);
38  //ICommand
39  virtual wxIcon GetBitmap(void);
40  virtual wxString GetCaption(void);
41  virtual wxString GetCategory(void);
42  virtual bool GetChecked(void);
43  virtual bool GetEnabled(void);
44  virtual wxString GetMessage(void);
45  virtual wxGISEnumCommandKind GetKind(void);
46  virtual void OnClick(void);
47  virtual bool OnCreate(wxGISApplicationBase* pApp);
48  virtual wxString GetTooltip(void);
49  virtual unsigned char GetCount(void);
50 private:
51  wxGxApplication* m_pApp;
52  wxIcon m_IconRemServs, m_IconRemServ, m_IconRemServDiscon;
53 };
Definition: applicationbase.h:65
The Remote Server GxObject commands (in context menu and/or toolbar).
Definition: remoteservercmd.h:31
Definition: gxapplication.h:41