[libchamplain] champlain_map_source_factory_register takes a constructor and a gpointer



commit 51af729a0126d19dd3771ea393606dd6f34a2ebd
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Mon May 18 21:33:30 2009 +0200

    champlain_map_source_factory_register takes a constructor and a gpointer

 champlain/champlain-map-source-factory.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]