1 /* HomeBank -- Free, easy, personal accounting for everyone. 2 * Copyright (C) 1995-2021 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 __HB_ENUMS_H__ 21 #define __HB_ENUMS_H__ 22 23 24 /* 25 ** paymode pixbuf 26 */ 27 #define OLDPAYMODE_INTXFER 5 28 29 30 enum 31 { 32 PAYMODE_NONE, 33 PAYMODE_CCARD, 34 PAYMODE_CHECK, 35 PAYMODE_CASH, 36 PAYMODE_XFER, 37 PAYMODE_OBSOLETEINTXFER, 38 /* 4.1 new payments here */ 39 PAYMODE_DCARD = 6, 40 PAYMODE_REPEATPMT, 41 PAYMODE_EPAYMENT, 42 PAYMODE_DEPOSIT, 43 PAYMODE_FEE, 44 /* 4.6 new paymode */ 45 PAYMODE_DIRECTDEBIT, 46 // PAYMODE_, 47 NUM_PAYMODE_MAX 48 }; 49 50 51 /* list display transaction (dsp_account) */ 52 enum 53 { 54 LST_DSPOPE_STATUS = 1, /* 1 fake column */ 55 LST_DSPOPE_DATE, /* 2 fake column */ 56 LST_DSPOPE_INFO, /* 3 fake column */ 57 LST_DSPOPE_PAYEE, /* 4 fake column */ 58 LST_DSPOPE_MEMO, /* 5 fake column */ 59 LST_DSPOPE_AMOUNT, /* 6 fake column */ 60 LST_DSPOPE_EXPENSE, /* 7 fake column */ 61 LST_DSPOPE_INCOME, /* 8 fake column */ 62 LST_DSPOPE_CATEGORY,/* 9 fake column */ 63 LST_DSPOPE_TAGS, /* 10 fake column */ 64 LST_DSPOPE_BALANCE, /* 11 fake column */ 65 LST_DSPOPE_CLR, /* 12 fake column */ 66 /* here we insert account column, only used for detail */ 67 LST_DSPOPE_ACCOUNT, /* 13 fake column : not stored */ 68 LST_DSPOPE_MATCH, /* 14 fake column : not stored */ 69 NUM_LST_DSPOPE 70 }; 71 72 73 //sort for various glist 74 enum 75 { 76 HB_GLIST_SORT_KEY, 77 HB_GLIST_SORT_NAME, 78 HB_GLIST_SORT_POS 79 }; 80 81 82 /* 83 ** list pixbuf (account/transaction) 84 *//* 85 enum 86 { 87 LST_PIXBUF_ADD, 88 LST_PIXBUF_EDIT, 89 LST_PIXBUF_REMIND, 90 LST_PIXBUF_VALID, 91 LST_PIXBUF_AUTO, 92 LST_PIXBUF_WARNING, 93 NUM_LST_PIXBUF 94 };*/ 95 96 97 /* 98 ** toolbar item type 99 *//* 100 enum 101 { 102 TOOLBAR_SEPARATOR, 103 TOOLBAR_BUTTON, 104 TOOLBAR_TOGGLE 105 };*/ 106 107 108 109 110 111 112 113 114 #endif 115