/* HomeBank -- Free, easy, personal accounting for everyone.
- * Copyright (C) 1995-2018 Maxime DOYEN
+ * Copyright (C) 1995-2019 Maxime DOYEN
*
* This file is part of HomeBank.
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __LIST_TOPSPENDING__H__
-#define __LIST_TOPSPENDING__H__
+#ifndef __HUB_SPENDING_H__
+#define __HUB_SPENDING_H__
+
+
+struct tmptop
+{
+ guint32 key;
+ gdouble value;
+};
+
+
+#define MAX_TOPSPENDING 10
/* list top spending */
};
-GtkWidget *create_list_topspending(void);
-#endif
+void ui_hub_spending_update(GtkWidget *widget, gpointer user_data);
+void ui_hub_spending_populate(GtkWidget *widget, gpointer user_data);
+GtkWidget *ui_hub_spending_create(struct hbfile_data *data);
+
+
+#endif
\ No newline at end of file