]> Dogcows Code - chaz/homebank/blobdiff - src/list-account.h
import homebank-5.2.4
[chaz/homebank] / src / list-account.h
diff --git a/src/list-account.h b/src/list-account.h
new file mode 100644 (file)
index 0000000..8e002e0
--- /dev/null
@@ -0,0 +1,70 @@
+/*  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 __LIST_ACCOUNT__H__
+#define __LIST_ACCOUNT__H__
+
+
+enum
+{
+       DSPACC_GROUP_BY_TYPE,
+       DSPACC_GROUP_BY_BANK
+};
+
+
+/* lst acc datatype */
+enum
+{
+       DSPACC_TYPE_NORMAL,
+       DSPACC_TYPE_HEADER,
+       DSPACC_TYPE_SUBTOTAL,
+       DSPACC_TYPE_TOTAL
+};
+
+
+/* list display account */
+enum
+{
+       LST_DSPACC_POS, /* fake column */
+       LST_DSPACC_NAME,        /* fake column */
+       LST_DSPACC_BANK,
+       LST_DSPACC_TODAY,
+       LST_DSPACC_FUTURE,
+       LST_DSPACC_DATAS,
+       LST_DSPACC_DATATYPE,
+       NUM_LST_DSPACC
+};
+
+enum
+{
+       COL_DSPACC_STATUS,
+       COL_DSPACC_ACCOUNTS,
+       COL_DSPACC_BANK,
+       COL_DSPACC_TODAY,
+       COL_DSPACC_FUTURE,
+       COL_DSPACC_RECONDATE,
+};
+
+
+gboolean list_account_level1_expanded(GtkTreeView *treeview, gchar *name);
+
+GtkWidget *create_list_account(void);
+
+
+#endif
This page took 0.025232 seconds and 4 git commands to generate.