Version: 0.6.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
mapcmd.h
1
/******************************************************************************
2
* Project: wxGIS (GIS Map)
3
* Purpose: Map Main Commands class.
4
* Author: Bishop (aka Baryshnikov Dmitriy), polimax@mail.ru
5
******************************************************************************
6
* Copyright (C) 2011 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
#pragma once
22
#include "wxgis/mapui/mapui.h"
23
#include "wxgis/framework/framework.h"
24
28
class
wxGISMapMainCmd
:
29
public
ICommand
30
{
31
DECLARE_DYNAMIC_CLASS(
wxGISMapMainCmd
)
32
33
public
:
34
wxGISMapMainCmd
(
void
);
35
virtual
~
wxGISMapMainCmd
(
void
);
36
//ICommand
37
virtual
wxIcon GetBitmap(
void
);
38
virtual
wxString GetCaption(
void
);
39
virtual
wxString GetCategory(
void
);
40
virtual
bool
GetChecked(
void
);
41
virtual
bool
GetEnabled(
void
);
42
virtual
wxString GetMessage(
void
);
43
virtual
wxGISEnumCommandKind GetKind(
void
);
44
virtual
void
OnClick(
void
);
45
virtual
bool
OnCreate(IFrameApplication* pApp);
46
virtual
wxString GetTooltip(
void
);
47
virtual
unsigned
char
GetCount(
void
);
48
private
:
49
IFrameApplication* m_pApp;
50
wxIcon m_IconAddLayer;
51
};
wxGISMapMainCmd
The wxGISMAp main commands class.
Definition:
mapcmd.h:28
include
wxgis
mapui
mapcmd.h
Generated on Fri Sep 26 2014 01:10:56 for ngm by
1.8.6