GnuCash c935c2f+
Loading...
Searching...
No Matches
import-settings.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\********************************************************************/
28#ifndef GNC_GEN_SETTINGS_H
29#define GNC_GEN_SETTINGS_H
30
31#include "import-utilities.h"
32
33#ifdef __cplusplus
34extern "C"
35{
36#endif
37
38typedef struct _genimportsettings GNCImportSettings;
39
40/************************************************************************
41 * Getter/Setter Functions for the Data Types.
42 ************************************************************************/
43
44
48GNCImportSettings *
50
52void gnc_import_Settings_delete (GNCImportSettings *settings);
53
54
57
62double
63gnc_import_Settings_get_fuzzy_amount (GNCImportSettings *settings);
64
67gboolean gnc_import_Settings_get_action_skip_enabled (GNCImportSettings *settings);
68
71gboolean gnc_import_Settings_get_action_add_enabled (GNCImportSettings *settings);
72
75gboolean gnc_import_Settings_get_action_update_enabled (GNCImportSettings *settings);
76
79gboolean gnc_import_Settings_get_action_clear_enabled (GNCImportSettings *settings);
80
83gint gnc_import_Settings_get_clear_threshold (GNCImportSettings *settings);
84
87gint gnc_import_Settings_get_add_threshold (GNCImportSettings *settings);
88
91gint gnc_import_Settings_get_display_threshold (GNCImportSettings *settings);
92
93gint gnc_import_Settings_get_date_threshold (GNCImportSettings *settings);
94
95gint gnc_import_Settings_get_date_not_threshold (GNCImportSettings *settings);
96
106void gnc_import_Settings_set_match_date_hardlimit (GNCImportSettings *settings, gint match_date_hardlimit);
108gint gnc_import_Settings_get_match_date_hardlimit (const GNCImportSettings *settings);
109
112#ifdef __cplusplus
113}
114#endif
115
118#endif
gint gnc_import_Settings_get_add_threshold(GNCImportSettings *settings)
Return the selected threshold.
gboolean gnc_import_Settings_get_action_update_enabled(GNCImportSettings *settings)
Return the selected action is enable state.
gboolean gnc_import_Settings_get_action_clear_enabled(GNCImportSettings *settings)
Return the selected action is enable state.
GNCImportSettings * gnc_import_Settings_new(void)
Allocates a new GNCImportSettings object, and initialize it with the appropriate user prefs.
gint gnc_import_Settings_get_match_date_hardlimit(const GNCImportSettings *s)
Returns the hard-limiting number of days that a matching split may differ.
gboolean gnc_import_Settings_get_action_skip_enabled(GNCImportSettings *settings)
Return the selected action is enable state.
void gnc_import_Settings_delete(GNCImportSettings *settings)
Destructor.
void gnc_import_Settings_set_match_date_hardlimit(GNCImportSettings *s, gint m)
gint gnc_import_Settings_get_clear_threshold(GNCImportSettings *settings)
Return the selected threshold.
gboolean gnc_import_Settings_get_action_add_enabled(GNCImportSettings *settings)
Return the selected action is enable state.
gint gnc_import_Settings_get_display_threshold(GNCImportSettings *settings)
Return the selected threshold.
double gnc_import_Settings_get_fuzzy_amount(GNCImportSettings *settings)
Return the allowed amount range for fuzzy amount matching.
Preference keys for the generic importer.