GnuCash
5.6-150-g038405b370+
gnucash
gnome-utils
gnc-commodity-edit.h
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
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
/* Callback function to return the printable string of a commodity */
42
const
char
* gnc_commodity_edit_get_string (gpointer ptr);
43
44
/* Callback function to popup a new selection (modal) dialog.
45
*
46
* The generic argument is a pointer to a dialog_commodity_mode
47
* enum. This tells the dialog how to limit the namespaces provided.
48
*/
49
gpointer gnc_commodity_edit_new_select (gpointer arg, gpointer ptr,
50
GtkWidget *toplevel);
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
gnc-commodity.h
Commodity handling public routines.
Generated by
1.8.14