Add function ag_chart_save_to_db() to save the chart to the db
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user