]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikmapsource.h
Improve README to mention OSM.
[andy/viking.git] / src / vikmapsource.h
index 66e62ab0a11914295f0d9dfae879d906e75fb2c5..516baa866921c09254a4c1ece1d45000428c77a8 100644 (file)
@@ -25,6 +25,7 @@
 #include "vikviewport.h"
 #include "vikcoord.h"
 #include "mapcoord.h"
+#include "bbox.h"
 
 G_BEGIN_DECLS
 
@@ -43,7 +44,10 @@ struct _VikMapSourceClass
        GObjectClass parent_class;
 
        /* Legal info */
-       const gchar *(* get_copyright) (VikMapSource * self);
+       void (* get_copyright) (VikMapSource * self, LatLonBBox bbox, gdouble zoom, void (*fct)(VikViewport*,const gchar*), void *data);
+       const gchar *(* get_license) (VikMapSource * self);
+       const gchar *(* get_license_url) (VikMapSource * self);
+       const GdkPixbuf *(* get_logo) (VikMapSource * self);
 
        guint8 (* get_uniq_id) (VikMapSource * self);
        const gchar * (* get_label) (VikMapSource * self);
@@ -65,7 +69,10 @@ struct _VikMapSource
 
 GType vik_map_source_get_type (void) G_GNUC_CONST;
 
-const gchar *vik_map_source_get_copyright (VikMapSource * self);
+void vik_map_source_get_copyright (VikMapSource * self, LatLonBBox bbox, gdouble zoom, void (*fct)(VikViewport*,const gchar*), void *data);
+const gchar *vik_map_source_get_license (VikMapSource * self);
+const gchar *vik_map_source_get_license_url (VikMapSource * self);
+const GdkPixbuf *vik_map_source_get_logo (VikMapSource * self);
 
 guint8 vik_map_source_get_uniq_id (VikMapSource * self);
 const gchar *vik_map_source_get_label (VikMapSource * self);