Generalize chart loading functions

* ag_app_import_chart() became ag_app_import_file(), and has the potential
  to load any file type
* ag_app_import_cb() so it can open multiple file types
* ag_chart_load_from_file() is now called ag_chart_load_from_agc()
This commit is contained in:
2014-08-10 10:15:04 +02:00
parent a3927458b4
commit a30d19d1bb
5 changed files with 47 additions and 14 deletions

View File

@@ -48,8 +48,8 @@ AgChart *ag_chart_new_full(GsweTimestamp *timestamp,
gdouble altitude,
GsweHouseSystem house_system);
AgChart *ag_chart_load_from_file(GFile *file,
GError **err);
AgChart *ag_chart_load_from_agc(GFile *file,
GError **err);
AgChart *ag_chart_new_from_db_save(AgDbSave *save_data, GError **err);