00001 /*************************************************************************** 00002 * qof-expenses-p.h 00003 * 00004 * Sun 23 Nov 2008 12:22:00 GMT 00005 * Copyright 2004-2008 Neil Williams <linux@codehelp.co.uk> 00006 ****************************************************************************/ 00007 /* 00008 This program is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 */ 00021 00022 #define EXPENSE_CREATOR "exps" 00023 //#ifdef HAVE_QOFEXPENSES 00024 //#include <qof-expenses.h> 00025 //#else 00026 #include "pilot-expenses.h" 00028 typedef struct PQCurrency_s 00029 { 00031 gint pq_code; 00033 gint fraction; 00035 const gchar *symbol; 00037 const gchar *mnemonic; 00041 gboolean non_utf8; 00042 } PQCurrency; 00043 00044 PQCurrency * 00045 pq_currency_lookup (QofInstance * inst, gint currency_code); 00046 //#endif