From: Emmanuel Rodriguez Date: Mon, 18 May 2009 19:33:30 +0000 (+0200) Subject: champlain_map_source_factory_register takes a constructor and a gpointer X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51af729a0126d19dd3771ea393606dd6f34a2ebd;p=libchamplain champlain_map_source_factory_register takes a constructor and a gpointer --- diff --git a/champlain/champlain-map-source-factory.h b/champlain/champlain-map-source-factory.h index af2aaf1..e0bfb93 100644 --- a/champlain/champlain-map-source-factory.h +++ b/champlain/champlain-map-source-factory.h @@ -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"