]>
Commit | Line | Data |
---|---|---|
7ebfc2a9 | 1 | %headertop{ |
be043e44 | 2 | #ifdef HAVE_CONFIG_H |
7ebfc2a9 | 3 | #include "config.h" |
4 | #endif | |
5 | ||
6 | #include "vikcoord.h" | |
7 | #include "mapcoord.h" | |
8 | %} | |
9 | ||
be043e44 | 10 | class Vik:Map:Type from G:Object(abstract) { |
8c0e93cd | 11 | public guint8 uniq_id; |
12 | public guint16 tilesize_x; | |
13 | public guint16 tilesize_y; | |
14 | public guint drawmode; | |
be043e44 | 15 | virtual public gboolean coord_to_mapcoord ( self, const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest ) |
8c0e93cd | 16 | { |
17 | return FALSE; | |
18 | } | |
be043e44 | 19 | virtual public void mapcoord_to_center_coord ( self, MapCoord *src, VikCoord *dest ) |
8c0e93cd | 20 | { } |
be043e44 | 21 | virtual public int download ( self, MapCoord *src, const gchar *dest_fn ) |
8c0e93cd | 22 | { |
23 | return 0; | |
24 | } | |
25 | ||
26 | } | |
27 |