OpenCPN Partial API docs
select_item.h
1
/******************************************************************************
2
*
3
* Project: OpenCPN
4
*
5
***************************************************************************
6
* Copyright (C) 2013 by David S. Register *
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, write to the *
20
* Free Software Foundation, Inc., *
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
22
***************************************************************************
23
*/
24
25
#ifndef _SELECTITEM_H__
26
#define _SELECTITEM_H__
27
28
#include <wx/list.h>
29
30
class
SelectItem
{
31
public
:
32
SelectItem
();
33
~
SelectItem
();
34
35
int
GetUserData(
void
);
36
void
SetUserData(
int
data);
37
38
float
m_slat;
39
float
m_slon;
40
float
m_slat2;
41
float
m_slon2;
42
int
m_seltype;
43
bool
m_bIsSelected;
44
const
void
*m_pData1;
45
void
*m_pData2;
46
void
*m_pData3;
47
int
m_Data4;
48
};
49
50
WX_DECLARE_LIST(
SelectItem
,
51
SelectableItemList);
// establish class as list member
52
53
#endif
SelectItem
Definition:
select_item.h:30
model
include
model
select_item.h
Generated on Thu Aug 1 2024 11:18:02 for OpenCPN Partial API docs by
1.9.1