GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-currency-edit.h
Go to the documentation of this file.
1 /*
2  * gnc-currency-edit.h -- Currency editor widget
3  *
4  * Copyright (C) 2000 Free Software Foundation
5  * All rights reserved.
6  *
7  * Dave Peticolas <[email protected]>
8  *
9  * GnuCash is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU Library General Public License as
11  * published by the Free Software Foundation; either version 2 of
12  * the License, or (at your option) any later version.
13  *
14  * Gnucash is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Library General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, contact:
21  *
22  * Free Software Foundation Voice: +1-617-542-5942
23  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
24  * Boston, MA 02110-1301, USA [email protected]
25  *
26  */
27 
55 #ifndef GNC_CURRENCY_EDIT_H
56 #define GNC_CURRENCY_EDIT_H
57 
58 #include "gnc-commodity.h"
59 
63 #define GNC_TYPE_CURRENCY_EDIT (gnc_currency_edit_get_type())
64 #define GNC_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEdit))
65 #define GNC_CURRENCY_EDIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditClass))
66 #define GNC_IS_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_CURRENCY_EDIT))
67 
68 typedef struct
69 {
70  GtkComboBox combobox;
72 
73 typedef struct
74 {
75  GtkComboBoxClass combobox;
77 
82 GType gnc_currency_edit_get_type (void);
83 
84 
90 GtkWidget *gnc_currency_edit_new (void);
105  const gnc_commodity *currency);
106 
107 
116 
119 #endif
120 
void gnc_currency_edit_set_currency(GNCCurrencyEdit *gce, const gnc_commodity *currency)
GType gnc_currency_edit_get_type(void)
gnc_commodity * gnc_currency_edit_get_currency(GNCCurrencyEdit *gce)
GtkWidget * gnc_currency_edit_new(void)
Commodity handling public routines.