/* -*- 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
#include <glib-object.h>
#include "vikmapsource.h"
+#include "download.h"
G_BEGIN_DECLS
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
};
GType vik_map_source_default_get_type (void) G_GNUC_CONST;
-
-void vik_map_source_default_set_uniq_id (VikMapSourceDefault *self, guint8 id);
-void vik_map_source_default_set_tilesize_x (VikMapSourceDefault *self, guint16 tilesize_x);
-void vik_map_source_default_set_tilesize_y (VikMapSourceDefault *self, guint16 tilesize_y);
-void vik_map_source_default_set_drawmode (VikMapSourceDefault *self, VikViewportDrawMode drawmode);
-
+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 );
G_END_DECLS