40 static const int DEFAULT_ACTION_ADD_ENABLED = TRUE;
41 static const int DEFAULT_ACTION_CLEAR_ENABLED = TRUE;
50 gboolean action_skip_enabled;
51 gboolean action_update_enabled;
52 gboolean action_add_enabled;
53 gboolean action_clear_enabled;
69 gint match_date_hardlimit;
85 settings->action_skip_enabled =
87 settings->action_update_enabled =
89 settings->action_add_enabled = DEFAULT_ACTION_ADD_ENABLED;
90 settings->action_clear_enabled = DEFAULT_ACTION_CLEAR_ENABLED;
101 settings->match_date_hardlimit = 42;
124 return settings->action_skip_enabled;
130 return settings->action_add_enabled;
136 return settings->action_update_enabled;
142 return settings->action_clear_enabled;
166 s->match_date_hardlimit = m;
171 return s->match_date_hardlimit;
gint gnc_import_Settings_get_match_date_hardlimit(const GNCImportSettings *s)
gint gnc_import_Settings_get_clear_threshold(GNCImportSettings *settings)
GNCImportSettings * gnc_import_Settings_new(void)
gboolean gnc_import_Settings_get_action_add_enabled(GNCImportSettings *settings)
gint gnc_import_Settings_get_display_threshold(GNCImportSettings *settings)
void gnc_import_Settings_delete(GNCImportSettings *settings)
#define GNC_PREFS_GROUP_IMPORT
Import preference handling. User preference interface for transaction matching (for both the gui and ...
gboolean gnc_import_Settings_get_action_clear_enabled(GNCImportSettings *settings)
void gnc_import_Settings_set_match_date_hardlimit(GNCImportSettings *s, gint m)
double gnc_import_Settings_get_fuzzy_amount(GNCImportSettings *settings)
Generic api to store and retrieve preferences.
gboolean gnc_import_Settings_get_action_update_enabled(GNCImportSettings *settings)
gboolean gnc_prefs_get_bool(const gchar *group, const gchar *pref_name)
gboolean gnc_import_Settings_get_action_skip_enabled(GNCImportSettings *settings)
gint gnc_import_Settings_get_add_threshold(GNCImportSettings *settings)
gdouble gnc_prefs_get_float(const gchar *group, const gchar *pref_name)