]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikslippymapsource.h
[DOC] Add documentation on new public routing function
[andy/viking.git] / src / vikslippymapsource.h
index a6d7ebf2968d816b0b05503fda0f41144ec2cc7d..326dcf529d103020294b0f5cfd8120453cb56385 100644 (file)
@@ -1,11 +1,11 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * viking
- * Copyright (C) Guilhem Bonnefille 2009 <guilhem.bonnefille@gmail.com>
+ * Copyright (C) 2009, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
  * 
  * 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
 #ifndef _VIK_SLIPPY_MAP_SOURCE_H
 #define _VIK_SLIPPY_MAP_SOURCE_H
 
+#include <glib.h>
+
 #include "vikcoord.h"
 #include "mapcoord.h"
 #include "vikmapsourcedefault.h"
-#include "download.h"
 
 G_BEGIN_DECLS
 
@@ -40,10 +41,6 @@ typedef struct _VikSlippyMapSource VikSlippyMapSource;
 struct _VikSlippyMapSourceClass
 {
        VikMapSourceDefaultClass parent_class;
-
-       gchar * (*get_uri) ( VikSlippyMapSource *self, MapCoord *src );
-       gchar * (*get_hostname) ( VikSlippyMapSource *self );
-       DownloadOptions * (*get_download_options) ( VikSlippyMapSource *self );
 };
 
 struct _VikSlippyMapSource
@@ -55,10 +52,6 @@ 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);
 
-gchar * vik_slippy_map_source_get_uri( VikSlippyMapSource *self, MapCoord *src );
-gchar * vik_slippy_map_source_get_hostname( VikSlippyMapSource *self );
-DownloadOptions * vik_slippy_map_source_get_download_options( VikSlippyMapSource *self );
-
 G_END_DECLS
 
 #endif /* _VIK_SLIPPY_MAP_SOURCE_H_ */