GnuCash c935c2f+
Loading...
Searching...
No Matches
import-account-matcher.h
Go to the documentation of this file.
1/********************************************************************\
2 * import-account-matcher.h - flexible account picker/matcher *
3 * *
4 * Copyright (C) 2002 Benoit Grégoire <bock@step.polymtl.ca> *
5 * Copyright (C) 2012 Robert Fewell *
6 * *
7 * This program is free software; you can redistribute it and/or *
8 * modify it under the terms of the GNU General Public License as *
9 * published by the Free Software Foundation; either version 2 of *
10 * the License, or (at your option) any later version. *
11 * *
12 * This program is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License*
18 * along with this program; if not, contact: *
19 * *
20 * Free Software Foundation Voice: +1-617-542-5942 *
21 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
22 * Boston, MA 02110-1301, USA gnu@gnu.org *
23\********************************************************************/
30#ifndef IMPORT_ACCOUNT_MATCHER_H
31#define IMPORT_ACCOUNT_MATCHER_H
32
33#include "Account.h"
34#include <gtk/gtk.h>
35
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42typedef struct
43{
44 GtkWidget *dialog; /* Dialog Widget */
45 GtkWidget *ok_button; /* ok button Widget */
46 GncTreeViewAccount *account_tree; /* Account tree */
47 GtkWidget *account_tree_sw; /* Scroll Window for Account tree */
48 const gchar *account_human_description; /* description for on line id, incoming */
49 const gnc_commodity *new_account_default_commodity; /* new account default commodity, incoming */
50 GNCAccountType new_account_default_type; /* new account default type, incoming */
51 GtkWidget *whbox; /* Warning HBox */
52 GtkWidget *warning; /* Warning Label */
54
115Account * gnc_import_select_account(GtkWidget *parent,
116 const gchar * account_online_id_value,
117 gboolean prompt_on_no_match,
118 const gchar * account_human_description,
119 const gnc_commodity * new_account_default_commodity,
120 GNCAccountType new_account_default_type,
121 Account * default_selection,
122 gboolean * ok_pressed
123 );
124
125#ifdef __cplusplus
126}
127#endif
128
129#endif
Account handling public routines.
GtkTreeView implementation for gnucash account tree.
GNCAccountType
The account types are used to determine how the transaction data in the account is displayed.
Definition Account.h:103
Account * gnc_import_select_account(GtkWidget *parent, const gchar *account_online_id_value, gboolean prompt_on_no_match, const gchar *account_human_description, const gnc_commodity *new_account_default_commodity, GNCAccountType new_account_default_type, Account *default_selection, gboolean *ok_pressed)
Must be called with a string containing a unique identifier for the account.
STRUCTS.