X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/09d47ac404e82ab5e7005971c1ccc83f19a21871..00de8de3e9c61db157855abdc793c403ab24ab0e:/src/dems.h diff --git a/src/dems.h b/src/dems.h index 876acfee..42d3204e 100644 --- a/src/dems.h +++ b/src/dems.h @@ -24,6 +24,8 @@ #include "dem.h" #include "vikcoord.h" +G_BEGIN_DECLS + typedef enum { VIK_DEM_INTERPOL_NONE = 0, VIK_DEM_INTERPOL_SIMPLE, @@ -34,12 +36,14 @@ void a_dems_uninit (); VikDEM *a_dems_load(const gchar *filename); void a_dems_unref(const gchar *filename); VikDEM *a_dems_get(const gchar *filename); -void a_dems_load_list ( GList **dems ); +int a_dems_load_list ( GList **dems, gpointer threaddata ); void a_dems_list_free ( GList *dems ); GList *a_dems_list_copy ( GList *dems ); gint16 a_dems_list_get_elev_by_coord ( GList *dems, const VikCoord *coord ); gint16 a_dems_get_elev_by_coord ( const VikCoord *coord, VikDemInterpol method); +G_END_DECLS + #endif -#include +