GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-euro.h
1 /********************************************************************\
2  * gnc-euro.h -- utilities for EURO currency *
3  * *
4  * Copyright (C) 2000 Herbert Thoma *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License as *
8  * published by the Free Software Foundation; either version 2 of *
9  * the License, or (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License*
17  * along with this program; if not, write to the Free Software *
18  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
19  * *
20 \********************************************************************/
21 
22 #ifndef GNC_EURO_H
23 #define GNC_EURO_H
24 
25 #include <glib.h>
26 
27 #include "gnc-commodity.h"
28 #include "qof.h"
29 
30 gboolean gnc_is_euro_currency (const gnc_commodity * currency);
31 gnc_numeric gnc_convert_to_euro (const gnc_commodity * currency,
32  gnc_numeric value);
33 gnc_numeric gnc_convert_from_euro (const gnc_commodity * currency,
34  gnc_numeric value);
35 gnc_numeric gnc_euro_currency_get_rate (const gnc_commodity *currency);
36 
37 gnc_commodity * gnc_get_euro (void);
38 
39 #endif /* EURO_UTILS_H */
Commodity handling public routines.