GnuCash c935c2f+
Loading...
Searching...
No Matches
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#ifdef __cplusplus
31extern "C" {
32#endif
33
34gboolean gnc_is_euro_currency (const gnc_commodity * currency);
35gnc_numeric gnc_convert_to_euro (const gnc_commodity * currency,
36 gnc_numeric value);
37gnc_numeric gnc_convert_from_euro (const gnc_commodity * currency,
38 gnc_numeric value);
39gnc_numeric gnc_euro_currency_get_rate (const gnc_commodity *currency);
40
41gnc_commodity * gnc_get_euro (void);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* EURO_UTILS_H */
Commodity handling public routines.