]> Dogcows Code - chaz/homebank/blobdiff - src/hub-spending.h
Merge branch 'upstream'
[chaz/homebank] / src / hub-spending.h
similarity index 71%
rename from src/list_topspending.h
rename to src/hub-spending.h
index 0be816cffa670e6162fad274e6fa127b1d11eeac..3df241a787d51346bfee0971b63e5dd792f89c79 100644 (file)
@@ -1,5 +1,5 @@
 /*  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 */
@@ -34,6 +44,10 @@ enum
 };
 
 
-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
This page took 0.019359 seconds and 4 git commands to generate.