1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 Maxime DOYEN
4 * This file is part of HomeBank.
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.
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.
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/>.
20 #ifndef __HOMEBANK_IMPORT_H__
21 #define __HOMEBANK_IMPORT_H__
24 #define PAGE_WELCOME 0
48 typedef struct _import_txndata ImpTxnData
;
51 struct _import_txndata
54 GtkWidget
*IM_txn
, *LB_txn
;
55 GtkWidget
*LB_acc_title
;
56 //GtkWidget *LB_acc_count;
57 GtkWidget
*LB_txn_title
;
58 GtkWidget
*BT_all
, *BT_non
, *BT_inv
;
73 GtkWidget
*CY_txn_dateorder
;
74 GtkWidget
*NB_txn_daygap
;
75 GtkWidget
*CM_txn_ucfirst
;
76 GtkWidget
*CY_txn_ofxname
;
77 GtkWidget
*CY_txn_ofxmemo
;
78 GtkWidget
*CM_txn_qifmemo
;
79 GtkWidget
*CM_txn_qifswap
;
91 GtkWidget
*filechooser
;
93 GtkWidget
*BT_file_add
;
94 GtkWidget
*BT_file_remove
;
96 //struct import_txndata txndata[TXN_MAX_ACCOUNT];
100 GtkWidget
*TX_summary
;
108 struct import_target_data
110 GtkWidget
*label1
, *label2
;
111 GtkWidget
*getwidget1
;
112 GtkWidget
*getwidget2
;
117 GtkWidget
*ui_import_assistant_new (gchar
**paths
);
118 Account
*import_create_account(gchar
*name
, gchar
*number
);
119 const gchar
*homebank_file_getencoding(gchar
*filename
);
120 gchar
*homebank_utf8_ensure(gchar
*buffer
);