2001-08-20 19:24:20 -05:00
|
|
|
/********************************************************************\
|
|
|
|
* gnc-euro.h -- utilities for EURO currency *
|
2000-04-12 00:41:58 -05:00
|
|
|
* *
|
|
|
|
* Copyright (C) 2000 Herbert Thoma *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; either version 2 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License*
|
|
|
|
* along with this program; if not, write to the Free Software *
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
|
|
|
* *
|
|
|
|
\********************************************************************/
|
|
|
|
|
2001-08-20 19:24:20 -05:00
|
|
|
#ifndef GNC_EURO_H
|
|
|
|
#define GNC_EURO_H
|
2000-04-12 00:41:58 -05:00
|
|
|
|
2000-10-27 15:30:30 -05:00
|
|
|
#include <glib.h>
|
|
|
|
|
2000-10-23 04:41:51 -05:00
|
|
|
#include "gnc-commodity.h"
|
2005-11-21 13:31:44 -06:00
|
|
|
#include "qof.h"
|
2000-10-23 04:41:51 -05:00
|
|
|
|
2001-04-24 05:46:01 -05:00
|
|
|
gboolean gnc_is_euro_currency (const gnc_commodity * currency);
|
|
|
|
gnc_numeric gnc_convert_to_euro (const gnc_commodity * currency,
|
2000-11-08 00:36:51 -06:00
|
|
|
gnc_numeric value);
|
2001-04-24 05:46:01 -05:00
|
|
|
gnc_numeric gnc_convert_from_euro (const gnc_commodity * currency,
|
2000-11-08 00:36:51 -06:00
|
|
|
gnc_numeric value);
|
2001-04-24 05:46:01 -05:00
|
|
|
gnc_numeric gnc_euro_currency_get_rate (const gnc_commodity *currency);
|
2000-04-12 00:41:58 -05:00
|
|
|
|
2001-02-24 18:42:44 -06:00
|
|
|
gnc_commodity * gnc_get_euro (void);
|
2000-11-01 02:52:30 -06:00
|
|
|
|
2001-07-03 01:49:39 -05:00
|
|
|
#endif /* EURO_UTILS_H */
|