]> Dogcows Code - chaz/homebank/blob - src/list-account.h
Merge branch 'upstream'
[chaz/homebank] / src / list-account.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * HomeBank is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __LIST_ACCOUNT__H__
21 #define __LIST_ACCOUNT__H__
22
23
24 enum
25 {
26 DSPACC_GROUP_BY_TYPE,
27 DSPACC_GROUP_BY_BANK
28 };
29
30
31 /* lst acc datatype */
32 enum
33 {
34 DSPACC_TYPE_NORMAL,
35 DSPACC_TYPE_HEADER,
36 DSPACC_TYPE_SUBTOTAL,
37 DSPACC_TYPE_TOTAL
38 };
39
40
41 /* list display account */
42 enum
43 {
44 LST_DSPACC_POS, /* fake column */
45 LST_DSPACC_NAME, /* fake column */
46 LST_DSPACC_BANK,
47 LST_DSPACC_TODAY,
48 LST_DSPACC_FUTURE,
49 LST_DSPACC_DATAS,
50 LST_DSPACC_DATATYPE,
51 NUM_LST_DSPACC
52 };
53
54 enum
55 {
56 COL_DSPACC_STATUS,
57 COL_DSPACC_ACCOUNTS,
58 COL_DSPACC_BANK,
59 COL_DSPACC_TODAY,
60 COL_DSPACC_FUTURE,
61 COL_DSPACC_RECONDATE,
62 };
63
64
65 gboolean list_account_level1_expanded(GtkTreeView *treeview, gchar *name);
66
67 GtkWidget *create_list_account(void);
68
69
70 #endif
This page took 0.032238 seconds and 4 git commands to generate.