1 /*
2  * gnc-commodity-edit.h -- Commodity editing widget
3  *
4  * Copyright (C) 2000 Free Software Foundation
5  * All rights reserved.
6  *
7  * Dave Peticolas <dave@krondo.com>
8  * Derek Atkins <warlord@MIT.EDU>
9  *
10  * GnuCash is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU Library General Public License as
12  * published by the Free Software Foundation; either version 2 of
13  * the License, or (at your option) any later version.
14  *
15  * Gnucash is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, contact:
22  *
23  * Free Software Foundation           Voice:  +1-617-542-5942
24  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
25  * Boston, MA  02110-1301,  USA       gnu@gnu.org
26  *
27  */
28 /*
29   @NOTATION@
30  */
31 
32 #ifndef GNC_COMMODITY_EDIT_H
33 #define GNC_COMMODITY_EDIT_H
34 
35 #include "gnc-commodity.h"
36 
37 /* Callback function to return the printable string of a commodity */
38 const char * gnc_commodity_edit_get_string (gpointer ptr);
39 
40 /* Callback function to popup a new selection (modal) dialog.
41  *
42  * The generic argument is a pointer to a dialog_commodity_mode
43  * enum. This tells the dialog how to limit the namespaces provided.
44  */
45 gpointer gnc_commodity_edit_new_select (gpointer arg, gpointer ptr,
46                                         GtkWidget *toplevel);
47 
48 #endif
49