-
Notifications
You must be signed in to change notification settings - Fork 28
/
gvS57layer.h
66 lines (50 loc) · 2.22 KB
/
gvS57layer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// gvS57layer.h: S57 layer classe header for OpenEV
//
// Project: OpENCview/OpenEV
/*
This file is part of the OpENCview project, a viewer of ENC.
Copyright (C) 2000-2018 Sylvain Duclos sduclos@users.sourceforge.net
OpENCview is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpENCview is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with OpENCview. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _GVS57LAYER_H_
#define _GVS57LAYER_H_
#include "gvshapeslayer.h" // GvShapesLayerClass, GvShapesLayer, GvShapes
#include <gmodule.h> // GModule
// FIXME: where are declaration for:
// - GtkType
// - GtkObject
// - gchar
//#define GV_TYPE_S57_LAYER (gv_S57_layer_get_type ())
//#define GV_S57_LAYER(obj) (GTK_CHECK_CAST ((obj), GV_TYPE_S57_LAYER, GvS57Layer))
//#define GV_S57_LAYER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GV_TYPE_S57_LAYER, GvS57LayerClass))
//#define GV_IS_S57_LAYER(obj) (GTK_CHECK_TYPE ((obj), GV_TYPE_S57_LAYER))
//#define GV_IS_S57_LAYER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GV_TYPE_S57_LAYER))
//typedef struct _GvS57Layer GvS57Layer;
//typedef struct _GvS57LayerClass GvS57LayerClass;
//struct _GvS57Layer
//{
// GvShapesLayer layer;
//};
//struct _GvS57LayerClass
//{
// GvShapesLayerClass parent_class;
//};
//GtkType gv_S57_layer_get_type(void);
GtkObject* gv_S57_layer_new(GvShapes *shapes);
void gv_S57_layer_init(GvShapesLayer *layer);
// used in plug-in mode --put here for 'completess'
// since it's part of the interface
void _layer_init(GvShapesLayer *layer);
const gchar *_ogr_driver_name(void);
const gchar *g_module_check_init(GModule *module);
void g_module_unload(void);
#endif // __GVS57LAYER_H__