Version: 0.6.0
taskcmd.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Toolbox)
3  * Purpose: Task Commands class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2011 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 
22 #pragma once
23 
24 //#include "wxgis/geoprocessingui/geoprocessingui.h"
25 #include "wxgis/framework/command.h"
26 #include "wxgis/catalogui/gxapplication.h"
27 
28 //#include <wx/imaglist.h>
29 
30 class WXDLLIMPEXP_GIS_GPU wxGISTaskCmd :
31  public wxGISCommand
32 {
33  DECLARE_DYNAMIC_CLASS(wxGISTaskCmd)
34 
35 public:
36  wxGISTaskCmd(void);
37  virtual ~wxGISTaskCmd(void);
38  //wxGISCommand
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 protected:
51  wxGxApplication* m_pApp;
52  wxIcon m_IconStart, m_IconStop, m_IconInfo;
53 };
Definition: taskcmd.h:30
Definition: applicationbase.h:65
Definition: command.h:53
Definition: gxapplication.h:41