GnuCash 2.4.99
import-settings.h
Go to the documentation of this file.
00001 /********************************************************************\
00002  * This program is free software; you can redistribute it and/or    *
00003  * modify it under the terms of the GNU General Public License as   *
00004  * published by the Free Software Foundation; either version 2 of   *
00005  * the License, or (at your option) any later version.              *
00006  *                                                                  *
00007  * This program is distributed in the hope that it will be useful,  *
00008  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00009  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00010  * GNU General Public License for more details.                     *
00011  *                                                                  *
00012  * You should have received a copy of the GNU General Public License*
00013  * along with this program; if not, contact:                        *
00014  *                                                                  *
00015  * Free Software Foundation           Voice:  +1-617-542-5942       *
00016  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00017  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00018 \********************************************************************/
00028 #ifndef GNC_GEN_SETTINGS_H
00029 #define GNC_GEN_SETTINGS_H
00030 
00031 typedef struct _genimportsettings GNCImportSettings;
00032 
00033 /************************************************************************
00034  *   Getter/Setter Functions for the Data Types.
00035  ************************************************************************/
00036 
00038 #define GCONF_IMPORT_SECTION "dialogs/import/generic_matcher"
00039 
00040 
00044 GNCImportSettings *
00045 gnc_import_Settings_new (void);
00046 
00048 void gnc_import_Settings_delete (GNCImportSettings *settings);
00049 
00050 
00053 
00058 double
00059 gnc_import_Settings_get_fuzzy_amount (GNCImportSettings *settings);
00060 
00063 gboolean gnc_import_Settings_get_action_skip_enabled (GNCImportSettings *settings);
00064 
00067 gboolean gnc_import_Settings_get_action_add_enabled (GNCImportSettings *settings);
00068 
00071 gboolean gnc_import_Settings_get_action_update_enabled (GNCImportSettings *settings);
00072 
00075 gboolean gnc_import_Settings_get_action_clear_enabled (GNCImportSettings *settings);
00076 
00079 gint gnc_import_Settings_get_clear_threshold (GNCImportSettings *settings);
00080 
00083 gint gnc_import_Settings_get_add_threshold (GNCImportSettings *settings);
00084 
00087 gint gnc_import_Settings_get_display_threshold (GNCImportSettings *settings);
00088 
00098 void gnc_import_Settings_set_match_date_hardlimit (GNCImportSettings *settings, gint match_date_hardlimit);
00100 gint gnc_import_Settings_get_match_date_hardlimit (const GNCImportSettings *settings);
00101 
00105 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines