* will return a ready to use #ChamplainMapSource.
*
* To get the list of registered map sources, use
- * #champlain_map_source_factory_get_list.
+ * #champlain_map_source_factory_dup_list.
*
*/
#include "config.h"
}
/**
- * champlain_map_source_factory_get_list:
+ * champlain_map_source_factory_dup_list:
*
* Returns the list of registered map sources, the items should not be freed,
* the list should be freed with #g_slist_free.
* Since: 0.4
*/
GSList *
-champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory)
+champlain_map_source_factory_dup_list (ChamplainMapSourceFactory *factory)
{
return g_slist_copy (factory->priv->registered_sources);
}
ChamplainMapSourceFactory * champlain_map_source_factory_dup_default (void);
-GSList * champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory);
+GSList * champlain_map_source_factory_dup_list (ChamplainMapSourceFactory *factory);
ChamplainMapSource * champlain_map_source_factory_create (ChamplainMapSourceFactory *factory,
const gchar *id);
-1);
factory = champlain_map_source_factory_dup_default ();
- sources = champlain_map_source_factory_get_list (factory);
+ sources = champlain_map_source_factory_dup_list (factory);
iter = sources;
while (iter != NULL)
ChamplainMapSourceDesc
ChamplainMapSourceConstructor
champlain_map_source_factory_dup_default
-champlain_map_source_factory_get_list
+champlain_map_source_factory_dup_list
champlain_map_source_factory_create
champlain_map_source_factory_register
<SUBSECTION Standard>