|
GnuCash 2.4.99
|
00001 /********************************************************************\ 00002 * gnc-euro.h -- utilities for EURO currency * 00003 * * 00004 * Copyright (C) 2000 Herbert Thoma * 00005 * * 00006 * This program is free software; you can redistribute it and/or * 00007 * modify it under the terms of the GNU General Public License as * 00008 * published by the Free Software Foundation; either version 2 of * 00009 * the License, or (at your option) any later version. * 00010 * * 00011 * This program is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License* 00017 * along with this program; if not, write to the Free Software * 00018 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00019 * * 00020 \********************************************************************/ 00021 00022 #ifndef GNC_EURO_H 00023 #define GNC_EURO_H 00024 00025 #include <glib.h> 00026 00027 #include "gnc-commodity.h" 00028 #include "qof.h" 00029 00030 gboolean gnc_is_euro_currency (const gnc_commodity * currency); 00031 gnc_numeric gnc_convert_to_euro (const gnc_commodity * currency, 00032 gnc_numeric value); 00033 gnc_numeric gnc_convert_from_euro (const gnc_commodity * currency, 00034 gnc_numeric value); 00035 gnc_numeric gnc_euro_currency_get_rate (const gnc_commodity *currency); 00036 00037 gnc_commodity * gnc_get_euro (void); 00038 00039 #endif /* EURO_UTILS_H */
1.7.4