~ubuntu-dev/gnucash/ubuntu

« back to all changes in this revision

Viewing changes to src/import-export/aqbanking/gnc-file-aqb-import.h

  • Committer: Reinhard Tartler
  • Date: 2008-08-03 07:38:54 UTC
  • mfrom: (2.1.2 debian)
  • Revision ID: siretart@tauware.de-20080803073854-23i4uqi1e73no4oz
merge from debian/unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * gnc-file-aqb-import.h --
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, contact:
 
16
 *
 
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
 
20
 */
 
21
 
 
22
/**
 
23
 * @addtogroup Import_Export
 
24
 * @{
 
25
 * @addtogroup AqBanking
 
26
 * @{
 
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>
 
31
 */
 
32
 
 
33
#ifndef GNC_FILE_AQB_IMPORT_H
 
34
#define GNC_FILE_AQB_IMPORT_H
 
35
 
 
36
#include <glib.h>
 
37
 
 
38
G_BEGIN_DECLS
 
39
 
 
40
/**
 
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.
 
45
 *
 
46
 * @param aqbanking_importername The aqbanking importer module that should be
 
47
 * used.  Possible values: "dtaus", "csv", "swift", or more.
 
48
 *
 
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.
 
55
 *
 
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.
 
59
 */
 
60
void gnc_file_aqbanking_import (const gchar *aqbanking_importername,
 
61
                                const gchar *aqbanking_formatname,
 
62
                                gboolean exec_as_aqbanking_jobs);
 
63
 
 
64
G_END_DECLS
 
65
 
 
66
/** @} */
 
67
/** @} */
 
68
 
 
69
#endif /* GNC_FILE_AQB_IMPORT_H */