GnuCash  5.6-150-g038405b370+
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 
43 #ifdef __cplusplus
44 extern "C"
45 {
46 #endif
47 
53 gchar * gnc_import_get_acc_online_id(Account * account);
54 void gnc_import_set_acc_online_id(Account * account,
55  const gchar * string_value);
62 gchar * gnc_import_get_trans_online_id(Transaction * transaction);
63 void gnc_import_set_trans_online_id(Transaction * transaction,
64  const gchar * string_value);
67 gboolean gnc_import_trans_has_online_id(Transaction * transaction);
68 
74 gchar * gnc_import_get_split_online_id(Split * split);
75 void gnc_import_set_split_online_id(Split * split,
76  const gchar * string_value);
79 gboolean gnc_import_split_has_online_id(Split * split);
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif
86 
STRUCTS.
Account handling public routines.