GnuCash  5.6-150-g038405b370+
account-quickfill.h
Go to the documentation of this file.
1 /********************************************************************\
2  * account-quickfill.h -- Create an account-name quick-fill *
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 \********************************************************************/
40 #ifndef QUICKFILL_ACCOUNT_H
41 #define QUICKFILL_ACCOUNT_H
42 
43 #include <gtk/gtk.h>
44 
45 #include "Account.h"
46 #include "QuickFill.h"
47 
48 typedef gboolean (*AccountBoolCB) (Account*, gpointer);
49 
71 QuickFill*
72 gnc_get_shared_account_name_quickfill (Account* root, const char* key,
73  AccountBoolCB skip_cb, gpointer cb_data);
74 GtkListStore*
75 gnc_get_shared_account_name_list_store (Account* root, const char* key,
76  AccountBoolCB cb, gpointer cb_data);
77 
78 #endif
79 
STRUCTS.
QuickFill * gnc_get_shared_account_name_quickfill(Account *root, const char *key, AccountBoolCB skip_cb, gpointer cb_data)
Create/fetch a quickfill of account names.
Account handling public routines.
QuickFill is used to auto-complete typed user entries.