]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikslippymapsource.h
[QA] Reusable function for freeing the waypoint image cache.
[andy/viking.git] / src / vikslippymapsource.h
index a39d2f33ad2ff144f5ef83662267ad7556fa5f04..9ec2b05f1b7186ab5d00a1673f8c24cfb55832e5 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
@@ -20,6 +20,8 @@
 #ifndef _VIK_SLIPPY_MAP_SOURCE_H
 #define _VIK_SLIPPY_MAP_SOURCE_H
 
+#include <glib.h>
+
 #include "vikcoord.h"
 #include "mapcoord.h"
 #include "vikmapsourcedefault.h"
@@ -48,7 +50,7 @@ struct _VikSlippyMapSource
 
 GType vik_slippy_map_source_get_type (void) G_GNUC_CONST;
 
-VikSlippyMapSource * vik_slippy_map_source_new_with_id (guint8 id, const gchar *label, const gchar *hostname, const gchar *url);
+VikSlippyMapSource * vik_slippy_map_source_new_with_id (guint16 id, const gchar *label, const gchar *hostname, const gchar *url);
 
 G_END_DECLS