vikcoord.c vikcoord.h \
mapcache.c mapcache.h \
vikmapslayer.c vikmapslayer.h \
+ vik-map-type.c vik-map-type.h \
gpx.c gpx.h \
garminsymbols.c garminsymbols.h \
acquire.c acquire.h \
viking_SOURCES = main.c
+%.h %.c:%.gob
+ gob2 $<
+
INCLUDES = @GTK_CFLAGS@ @EXPAT_CFLAGS@ @LIBCURL_CPPFLAGS@
LDADD = libviking.a @GTK_LIBS@ @EXPAT_LIBS@ @LIBCURL@ icons/libicons.a
if REALTIME_GPS_TRACKING
--- /dev/null
+%headertop{
+#ifdef HAVE_CONFIG
+#include "config.h"
+#endif
+
+#include "vikcoord.h"
+#include "mapcoord.h"
+%}
+
+ class Vik:Map:Type from G:Object {
+ public guint8 uniq_id;
+ public guint16 tilesize_x;
+ public guint16 tilesize_y;
+ public guint drawmode;
+ public gboolean coord_to_mapcoord ( self, const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest )
+ {
+ return FALSE;
+ }
+ public void mapcoord_to_center_coord ( self, MapCoord *src, VikCoord *dest )
+ { }
+ public int download ( self, MapCoord *src, const gchar *dest_fn )
+ {
+ return 0;
+ }
+
+ }
+
+++ /dev/null
- class Vik:Map:Type from G:Object {
- public guint8 uniq_id;
- public guint16 tilesize_x;
- public guint16 tilesize_y;
- public guint drawmode;
- public gboolean coord_to_mapcoord ( self, const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest )
- {
- return FALSE;
- }
- public void mapcoord_to_center_coord ( self, MapCoord *src, VikCoord *dest )
- { }
- public int download ( self, MapCoord *src, const gchar *dest_fn )
- {
- return 0;
- }
-
- }
-