]>
Commit | Line | Data |
---|---|---|
c9c9e658 GB |
1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ |
2 | /* | |
3 | * viking | |
4 | * Copyright (C) Guilhem Bonnefille 2009 <guilhem.bonnefille@gmail.com> | |
5 | * | |
6 | * viking is free software: you can redistribute it and/or modify it | |
7 | * under the terms of the GNU General Public License as published by the | |
8 | * Free Software Foundation, either version 3 of the License, or | |
9 | * (at your option) any later version. | |
10 | * | |
11 | * viking is distributed in the hope that it will be useful, but | |
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
14 | * See the GNU General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License along | |
17 | * with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | */ | |
19 | ||
20 | #ifndef _TERRASERVER_MAP_SOURCE_H | |
21 | #define _TERRASERVER_MAP_SOURCE_H | |
22 | ||
23 | #include "vikcoord.h" | |
24 | #include "mapcoord.h" | |
25 | #include "vikmapsourcedefault.h" | |
26 | #include "download.h" | |
27 | ||
28 | G_BEGIN_DECLS | |
29 | ||
30 | #define TERRASERVER_TYPE_MAP_SOURCE (terraserver_map_source_get_type ()) | |
31 | #define TERRASERVER_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TERRASERVER_TYPE_MAP_SOURCE, TerraserverMapSource)) | |
32 | #define TERRASERVER_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TERRASERVER_TYPE_MAP_SOURCE, TerraserverMapSourceClass)) | |
33 | #define TERRASERVER_IS_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TERRASERVER_TYPE_MAP_SOURCE)) | |
34 | #define TERRASERVER_IS_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TERRASERVER_TYPE_MAP_SOURCE)) | |
35 | #define TERRASERVER_MAP_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TERRASERVER_TYPE_MAP_SOURCE, TerraserverMapSourceClass)) | |
36 | ||
37 | typedef struct _TerraserverMapSourceClass TerraserverMapSourceClass; | |
38 | typedef struct _TerraserverMapSource TerraserverMapSource; | |
39 | ||
40 | struct _TerraserverMapSourceClass | |
41 | { | |
42 | VikMapSourceDefaultClass parent_class; | |
43 | }; | |
44 | ||
45 | struct _TerraserverMapSource | |
46 | { | |
47 | VikMapSourceDefault parent_instance; | |
48 | }; | |
49 | ||
50 | GType terraserver_map_source_get_type (void) G_GNUC_CONST; | |
51 | ||
db03733a | 52 | TerraserverMapSource * terraserver_map_source_new_with_id (guint8 id, const char *label, int type); |
c9c9e658 GB |
53 | |
54 | G_END_DECLS | |
55 | ||
56 | #endif /* _TERRASERVER_MAP_SOURCE_H_ */ |