Add function ag_db_get_chart_data_by_id()

It loads one single chart from the database and fills an AgDbSave
struct with its data
This commit is contained in:
2014-07-31 00:33:54 +02:00
parent bfa4cf8cca
commit ea9e4a73a5
2 changed files with 220 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ gboolean ag_db_save_chart(AgDb *db,
GList *ag_db_get_chart_list(AgDb *db, GError **err);
AgDbSave *ag_db_get_chart_data_by_id(AgDb *db, guint row_id, GError **err);
#define AG_DB_ERROR (ag_db_error_quark())
GQuark ag_db_error_quark(void);