]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikmapsourcedefault.h
[DOC] Mention map tilesize configuration.
[andy/viking.git] / src / vikmapsourcedefault.h
index 30eeedc33951a74ba72c7ff263bafb25c72a2ca6..bcab546435e25212712b84aa9de98eb98a6917ce 100644 (file)
@@ -5,7 +5,7 @@
  * 
  * viking is free software: you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
+ * Free Software Foundation, either version 2 of the License, or
  * (at your option) any later version.
  * 
  * viking is distributed in the hope that it will be useful, but
@@ -23,6 +23,7 @@
 #include <glib-object.h>
 
 #include "vikmapsource.h"
+#include "download.h"
 
 G_BEGIN_DECLS
 
@@ -39,6 +40,10 @@ typedef struct _VikMapSourceDefault VikMapSourceDefault;
 struct _VikMapSourceDefaultClass
 {
        VikMapSourceClass parent_class;
+
+       gchar * (*get_uri) ( VikMapSourceDefault *self, MapCoord *src );
+       gchar * (*get_hostname) ( VikMapSourceDefault *self );
+       DownloadFileOptions * (*get_download_options) ( VikMapSourceDefault *self );
 };
 
 struct _VikMapSourceDefault
@@ -47,6 +52,10 @@ struct _VikMapSourceDefault
 };
 
 GType vik_map_source_default_get_type (void) G_GNUC_CONST;
+gchar * vik_map_source_default_get_uri( VikMapSourceDefault *self, MapCoord *src );
+gchar * vik_map_source_default_get_hostname( VikMapSourceDefault *self );
+DownloadFileOptions * vik_map_source_default_get_download_options( VikMapSourceDefault *self );
+gchar * vik_map_source_default_get_url_display( VikMapSourceDefault *self, MapCoord *src );
 
 G_END_DECLS