They will be removed just before releasing 0.4.
return g_object_new (CHAMPLAIN_TYPE_CACHE, NULL);
}
+ChamplainCache*
+champlain_cache_get_default (void)
+{
+ return champlain_cache_dup_default ();
+}
+
/**
* champlain_cache_get_size_limit:
* @self: the #ChamplainCache
GType champlain_cache_get_type (void);
ChamplainCache* champlain_cache_dup_default (void);
+ChamplainCache* champlain_cache_get_default (void) G_GNUC_DEPRECATED;
void champlain_cache_update_tile (ChamplainCache *self,
ChamplainTile *tile,
return g_object_new (CHAMPLAIN_TYPE_MAP_SOURCE_FACTORY, NULL);
}
+ChamplainMapSourceFactory *
+champlain_map_source_factory_get_default (void)
+{
+ return champlain_map_source_factory_dup_default ();
+}
+
/**
* champlain_map_source_factory_dup_list:
*
return g_slist_copy (factory->priv->registered_sources);
}
+GSList *
+champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory)
+{
+ return champlain_map_source_factory_dup_list (factory);
+}
+
/**
* champlain_map_source_factory_create:
* @factory: the Factory
GType champlain_map_source_factory_get_type (void);
ChamplainMapSourceFactory * champlain_map_source_factory_dup_default (void);
+ChamplainMapSourceFactory * champlain_map_source_factory_get_default (void) G_GNUC_DEPRECATED;
GSList * champlain_map_source_factory_dup_list (ChamplainMapSourceFactory *factory);
+GSList * champlain_map_source_factory_get_list (ChamplainMapSourceFactory *factory) G_GNUC_DEPRECATED;
ChamplainMapSource * champlain_map_source_factory_create (ChamplainMapSourceFactory *factory,
const gchar *id);
g_object_unref (cache);
}
+void
+champlain_network_map_source_fill_tile (ChamplainMapSource *map_source,
+ ChamplainTile *tile)
+{
+ fill_tile (map_source, tile);
+}
void champlain_network_map_source_set_uri_format (ChamplainNetworkMapSource *source,
const gchar *uri_format);
+void champlain_network_map_source_fill_tile (ChamplainMapSource *map_source,
+ ChamplainTile *tile) G_GNUC_DEPRECATED;
+
G_END_DECLS
#endif