GnuCash
5.6-150-g038405b370+
gnucash
import-export
csv-imp
csv-account-import.h
1
/*******************************************************************\
2
* csv-account-import.h -- Account importing from file *
3
* *
4
* Copyright (C) 2012 Robert Fewell *
5
* *
6
* Based on code from bi_import written by Sebastian Held and *
7
* Mike Evans. *
8
* *
9
* This program is free software; you can redistribute it and/or *
10
* modify it under the terms of the GNU General Public License as *
11
* published by the Free Software Foundation; either version 2 of *
12
* the License, or (at your option) any later version. *
13
* *
14
* This program is distributed in the hope that it will be useful, *
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17
* GNU General Public License for more details. *
18
* *
19
* You should have received a copy of the GNU General Public License*
20
* along with this program; if not, contact: *
21
* *
22
* Free Software Foundation Voice: +1-617-542-5942 *
23
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
24
* Boston, MA 02110-1301, USA gnu@gnu.org *
25
\********************************************************************/
26
27
#ifndef CSV_ACCOUNT_IMPORT_H
28
#define CSV_ACCOUNT_IMPORT_H
29
30
#include <glib.h>
31
#include <gtk/gtk.h>
32
33
#include "
assistant-csv-account-import.h
"
34
35
enum
_csv_import_result
36
{
37
RESULT_OK,
38
RESULT_OPEN_FAILED,
39
RESULT_ERROR_IN_REGEXP,
40
MATCH_FOUND,
41
};
42
typedef
enum
_csv_import_result csv_import_result;
43
44
csv_import_result
45
csv_import_read_file (GtkWindow *win,
const
gchar *filename,
46
const
gchar *parser_regexp,
47
GtkListStore *store, guint max_rows );
48
49
void
csv_account_import (
CsvImportInfo
*info);
50
51
#endif
/* CSV_ACCOUNT_IMPORT_H */
52
CsvImportInfo
Definition:
assistant-csv-account-import.h:40
assistant-csv-account-import.h
CSV Import Assistant.
Generated by
1.8.14