GnuCash 2.4.99
import-main-matcher.h
Go to the documentation of this file.
00001 /********************************************************************\
00002  * import-main-matcher.h - Transaction matcher main window          *
00003  *                                                                  *
00004  * Copyright (C) 2002 Benoit Grégoire <bock@step.polymtl.ca>        *
00005  * Copyright (C) 2002 Christian Stimming                            *
00006  * Copyright (C) 2012 Robert Fewell                                 *
00007  *                                                                  *
00008  * This program is free software; you can redistribute it and/or    *
00009  * modify it under the terms of the GNU General Public License as   *
00010  * published by the Free Software Foundation; either version 2 of   *
00011  * the License, or (at your option) any later version.              *
00012  *                                                                  *
00013  * This program is distributed in the hope that it will be useful,  *
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00016  * GNU General Public License for more details.                     *
00017  *                                                                  *
00018  * You should have received a copy of the GNU General Public License*
00019  * along with this program; if not, contact:                        *
00020  *                                                                  *
00021  * Free Software Foundation           Voice:  +1-617-542-5942       *
00022  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00023  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00024 \********************************************************************/
00033 #ifndef GNC_IMPORT_MAIN_MATCHER_H
00034 #define GNC_IMPORT_MAIN_MATCHER_H
00035 
00036 #include "Transaction.h"
00037 #include "import-backend.h"
00038 
00039 typedef struct _main_matcher_info GNCImportMainMatcher;
00040 
00041 typedef void (*GNCTransactionProcessedCB) (GNCImportTransInfo *trans_info,
00042         gboolean imported, gpointer user_data);
00043 
00044 
00067 GNCImportMainMatcher *gnc_gen_trans_list_new (GtkWidget *parent,
00068         const gchar* heading,
00069         gboolean all_from_same_account,
00070         gint match_date_hardlimit);
00071 
00072 
00073 
00100 GNCImportMainMatcher * gnc_gen_trans_assist_new (GtkWidget *parent,
00101         const gchar* heading,
00102         gboolean all_from_same_account,
00103         gint match_date_hardlimit);
00104 
00105 
00111 void gnc_gen_trans_assist_start (GNCImportMainMatcher *info);
00112 
00113 
00121 void on_matcher_help_clicked (GtkButton *button, gpointer user_data);
00122 
00123 
00130 void gnc_gen_trans_list_add_tp_cb(GNCImportMainMatcher *info,
00131                                   GNCTransactionProcessedCB trans_processed_cb,
00132                                   gpointer user_data);
00133 
00134 
00136 void gnc_gen_trans_list_delete (GNCImportMainMatcher *info);
00137 
00149 void gnc_gen_trans_list_add_trans(GNCImportMainMatcher *gui, Transaction *trans);
00150 
00151 
00166 void gnc_gen_trans_list_add_trans_with_ref_id(GNCImportMainMatcher *gui, Transaction *trans, guint32 ref_id);
00167 
00168 
00173 gboolean gnc_gen_trans_list_run (GNCImportMainMatcher *info);
00174 
00175 
00178 GtkWidget *gnc_gen_trans_list_widget (GNCImportMainMatcher *info);
00179 
00180 #endif
00181 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines