2
* gnc-file-aqb-import.h --
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation; either version 2 of
7
* the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, contact:
17
* Free Software Foundation Voice: +1-617-542-5942
18
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
19
* Boston, MA 02110-1301, USA gnu@gnu.org
23
* @addtogroup Import_Export
25
* @addtogroup AqBanking
27
* @file gnc-file-aqb-import.h
28
* @brief DTAUS import module interface
29
* @author Copyright (C) 2002 Benoit Grégoire <bock@step.polymtl.ca>
30
* @author Copyright (C) 2008 Andreas Koehler <andi5.py@gmx.net>
33
#ifndef GNC_FILE_AQB_IMPORT_H
34
#define GNC_FILE_AQB_IMPORT_H
41
* This routine will pop up a standard file selection dialog asking the user to
42
* pick a file to import. This file will be opened and read. Its contents will
43
* be imported into the current book, using the import matcher from
44
* import-main-matcher.h.
46
* @param aqbanking_importername The aqbanking importer module that should be
47
* used. Possible values: "dtaus", "csv", "swift", or more.
49
* @param aqbanking_formatname In aqbanking, each importer has one or more data
50
* formats available which define the actual data fields that should be used.
51
* In aqbanking, such a different format is called a "profile". Possible values
52
* for swift: "swift-mt940" or "swift-mt942", but for all others: "default", or
53
* more precisely: Look into $datadir/aqbanking/imexporters and look into the
54
* "name" field of the foo.conf files.
56
* @param exec_as_aqbanking_jobs If TRUE, additionally queue the imported
57
* transactions as online jobs over aqbanking/HBCI. If FALSE, just import the
58
* transactions and that's it.
60
void gnc_file_aqbanking_import (const gchar *aqbanking_importername,
61
const gchar *aqbanking_formatname,
62
gboolean exec_as_aqbanking_jobs);
69
#endif /* GNC_FILE_AQB_IMPORT_H */