OpenCPN Partial API docs
Loading...
Searching...
No Matches
chartclassdescriptor.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (C) 2010 by David S. Register *
3
* Copyright (C) 2010 by Mark A Sikes *
4
* *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, see <https://www.gnu.org/licenses/>. *
17
**************************************************************************/
18
25
#ifndef __CHARTCLASSDESCRIPTOR_H__
26
#define __CHARTCLASSDESCRIPTOR_H__
27
28
#include <map>
29
#include <memory>
30
#include <vector>
31
32
#include <wx/progdlg.h>
33
34
#include "
model/ocpn_types.h
"
35
#include "bbox.h"
36
#include "LLRegion.h"
37
#include "
chartdb_thread.h
"
38
#include "
ocpn_plugin.h
"
39
40
enum
{ BUILTIN_DESCRIPTOR = 0, PLUGIN_DESCRIPTOR };
41
42
class
ChartClassDescriptor
{
43
public
:
44
ChartClassDescriptor
() {};
45
virtual
~ChartClassDescriptor
() {}
46
47
ChartClassDescriptor
(wxString classn, wxString mask,
opencpn_plugin
*plugin,
48
int
type)
49
: m_class_name(classn),
50
m_search_mask(mask),
51
m_descriptor_type(type),
52
m_plugin(plugin) {};
53
54
wxString m_class_name;
55
wxString m_search_mask;
56
int
m_descriptor_type;
57
opencpn_plugin
*m_plugin;
58
};
59
60
#endif
chartdb_thread.h
Define threaded chart database classes.
ChartClassDescriptor
Definition
chartclassdescriptor.h:42
opencpn_plugin
Base class for OpenCPN plugins.
Definition
ocpn_plugin.h:1299
ocpn_plugin.h
PlugIn Object Definition/API.
ocpn_types.h
Navigation data types.
gui
include
gui
chartclassdescriptor.h
Generated on Fri Jan 16 2026 03:03:27 for OpenCPN Partial API docs by
1.9.8