GnuCash  4.10-100-g8b5b6256d+
import-utilities.h
Go to the documentation of this file.
1 /********************************************************************\
2  * This program is free software; you can redistribute it and/or *
3  * modify it under the terms of the GNU General Public License as *
4  * published by the Free Software Foundation; either version 2 of *
5  * the License, or (at your option) any later version. *
6  * *
7  * This program is distributed in the hope that it will be useful, *
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
10  * GNU General Public License for more details. *
11  * *
12  * You should have received a copy of the GNU General Public License*
13  * along with this program; if not, contact: *
14  * *
15  * Free Software Foundation Voice: +1-617-542-5942 *
16  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
17  * Boston, MA 02110-1301, USA gnu@gnu.org *
18 \********************************************************************/
25 #ifndef IMPORT_UTILITIES_H
26 #define IMPORT_UTILITIES_H
27 
28 
30 #define GNC_PREFS_GROUP_IMPORT "dialogs.import.generic"
31 #define GNC_PREF_ENABLE_SKIP "enable-skip"
32 #define GNC_PREF_ENABLE_UPDATE "enable-update"
33 #define GNC_PREF_USE_BAYES "use-bayes"
34 #define GNC_PREF_ATM_FEE_THRESHOLD "atm-fee-threshold"
35 #define GNC_PREF_AUTO_CLEAR_THRESHOLD "auto-clear-threshold"
36 #define GNC_PREF_AUTO_ADD_THRESHOLD "auto-add-threshold"
37 #define GNC_PREF_MATCH_THRESHOLD "match-threshold"
38 #define GNC_PREF_MATCH_DATE_THRESHOLD "match-date-threshold"
39 #define GNC_PREF_MATCH_DATE_NOT_THRESHOLD "match-date-not-threshold"
40 
41 #include "Account.h"
42 
48 const gchar * gnc_import_get_acc_online_id(Account * account);
49 void gnc_import_set_acc_online_id(Account * account,
50  const gchar * string_value);
57 const gchar * gnc_import_get_trans_online_id(Transaction * transaction);
58 void gnc_import_set_trans_online_id(Transaction * transaction,
59  const gchar * string_value);
62 gboolean gnc_import_trans_has_online_id(Transaction * transaction);
63 
69 const gchar * gnc_import_get_split_online_id(Split * split);
70 void gnc_import_set_split_online_id(Split * split,
71  const gchar * string_value);
74 gboolean gnc_import_split_has_online_id(Split * split);
75 
76 #endif
77 
Account handling public routines.