[import-match-picker.cpp] convert to cpp

This commit is contained in:
Christopher Lam 2023-07-13 21:52:54 +08:00
parent ea6181fdf7
commit 243710218c
4 changed files with 10 additions and 6 deletions

View File

@ -18,7 +18,7 @@ set (generic_import_SOURCES
import-commodity-matcher.c
import-backend.cpp
import-format-dialog.c
import-match-picker.c
import-match-picker.cpp
import-parse.c
import-utilities.c
import-settings.c

View File

@ -31,10 +31,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "import-backend.h"
#include "import-match-picker.h"
#include "import-pending-matches.h"
#include "qof.h"
#include "gnc-ui-util.h"
#include "dialog-utils.h"
@ -196,7 +193,7 @@ match_update_match_model (GNCImportMatchPicker *matcher)
(matcher->selected_trans_info));
while (list_element != NULL)
{
match_info = list_element->data;
match_info = static_cast<GNCImportMatchInfo*>(list_element->data);
/* Skip this match if reconciled and we're not showing those */
reconciled = xaccSplitGetReconcile

View File

@ -26,6 +26,10 @@
#ifndef GNC_GEN_MATCH_PICKER_H
#define GNC_GEN_MATCH_PICKER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "import-backend.h"
#include "import-pending-matches.h"
@ -59,5 +63,8 @@ gnc_import_match_picker_run_and_close (GtkWidget *parent,
/**@}*/
#ifdef __cplusplus
}
#endif
#endif

View File

@ -351,7 +351,7 @@ gnucash/import-export/import-backend.cpp
gnucash/import-export/import-commodity-matcher.c
gnucash/import-export/import-format-dialog.c
gnucash/import-export/import-main-matcher.cpp
gnucash/import-export/import-match-picker.c
gnucash/import-export/import-match-picker.cpp
gnucash/import-export/import-parse.c
gnucash/import-export/import-pending-matches.c
gnucash/import-export/import-settings.c