]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikmapsource.h
Improve documentation of background.c
[andy/viking.git] / src / vikmapsource.h
index e56545deba41b03eeaae232565324f5d23dcfad0..c0b80f3c65bd6f2143332563b1ec57bc1f804f58 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- 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-2010, 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
@@ -41,7 +41,12 @@ typedef struct _VikMapSource VikMapSource;
 struct _VikMapSourceClass
 {
        GObjectClass parent_class;
-       
+
+       /* Legal info */
+       const gchar *(* get_copyright) (VikMapSource * self);
+       const gchar *(* get_license) (VikMapSource * self);
+       const gchar *(* get_license_url) (VikMapSource * self);
+
        guint8 (* get_uniq_id) (VikMapSource * self);
        const gchar * (* get_label) (VikMapSource * self);
        guint16 (* get_tilesize_x) (VikMapSource * self);
@@ -62,6 +67,10 @@ struct _VikMapSource
 
 GType vik_map_source_get_type (void) G_GNUC_CONST;
 
+const gchar *vik_map_source_get_copyright (VikMapSource * self);
+const gchar *vik_map_source_get_license (VikMapSource * self);
+const gchar *vik_map_source_get_license_url (VikMapSource * self);
+
 guint8 vik_map_source_get_uniq_id (VikMapSource * self);
 const gchar *vik_map_source_get_label (VikMapSource * self);
 guint16 vik_map_source_get_tilesize_x (VikMapSource * self);