]> err.no Git - libchamplain/commitdiff
champlain_map_source_factory_register takes a constructor and a gpointer
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 18 May 2009 19:33:30 +0000 (21:33 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Fri, 12 Jun 2009 03:20:44 +0000 (23:20 -0400)
champlain/champlain-map-source-factory.h

index af2aaf1942b61fc03ff167d82cc07436d57a0fe1..e0bfb932555c86a6144e3237e448dec1ff5c6a0c 100644 (file)
@@ -64,8 +64,10 @@ GSList * champlain_map_source_factory_get_list (ChamplainMapSourceFactory *facto
 ChamplainMapSource * champlain_map_source_factory_create (ChamplainMapSourceFactory *factory,
     const gchar *id);
 
-gboolean champlain_map_source_factory_register (ChamplainMapSourceFactory *factory,
-    ChamplainMapSourceDesc *desc);
+gboolean
+champlain_map_source_factory_register (ChamplainMapSourceFactory *factory,
+    ChamplainMapSourceDesc *desc, ChamplainMapSourceConstructor constructor,
+    gpointer data);
 
 #define CHAMPLAIN_MAP_SOURCE_OSM_MAPNIK "osm::mapnik"
 #define CHAMPLAIN_MAP_SOURCE_OSM_OSMARENDER "osm::osmarender"