Add function ag_chart_save_to_db() to save the chart to the db

This commit is contained in:
2014-07-21 23:36:09 +02:00
parent 2e34b71f69
commit 12e088b452
3 changed files with 78 additions and 19 deletions

View File

@@ -2,6 +2,7 @@
#define __AG_CHART_H__
#include <glib-object.h>
#include <gtk/gtk.h>
#include <swe-glib.h>
#include "ag-db.h"
@@ -85,6 +86,10 @@ void ag_chart_set_note(AgChart *chart, const gchar *note);
const gchar *ag_chart_get_note(AgChart *chart);
gboolean ag_chart_save_to_db(AgChart *chart,
AgDbSave **old_save,
GtkWidget *window);
#define AG_CHART_ERROR (ag_chart_error_quark())
GQuark ag_chart_error_quark(void);