]> Dogcows Code - chaz/homebank/blobdiff - src/hub-spending.h
import homebank-5.2.4
[chaz/homebank] / src / hub-spending.h
diff --git a/src/hub-spending.h b/src/hub-spending.h
new file mode 100644 (file)
index 0000000..3df241a
--- /dev/null
@@ -0,0 +1,53 @@
+/*  HomeBank -- Free, easy, personal accounting for everyone.
+ *  Copyright (C) 1995-2019 Maxime DOYEN
+ *
+ *  This file is part of HomeBank.
+ *
+ *  HomeBank is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  HomeBank is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __HUB_SPENDING_H__
+#define __HUB_SPENDING_H__
+
+
+struct tmptop
+{
+       guint32         key;
+       gdouble         value;
+};
+
+
+#define MAX_TOPSPENDING 10
+
+
+/* list top spending */
+enum
+{
+       LST_TOPSPEND_ID,        //fake for pie
+       LST_TOPSPEND_KEY,       //fake for pie
+       LST_TOPSPEND_NAME,
+       LST_TOPSPEND_AMOUNT,
+       LST_TOPSPEND_RATE,
+
+       NUM_LST_TOPSPEND
+};
+
+
+
+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.025638 seconds and 4 git commands to generate.