1 /* 2 * Copyright (C) 1987-2008 Sun Microsystems, Inc. All Rights Reserved. 3 * Copyright (C) 2008-2011 Robert Ancell 4 * 5 * This program is free software: you can redistribute it and/or modify it under 6 * the terms of the GNU General Public License as published by the Free Software 7 * Foundation, either version 2 of the License, or (at your option) any later 8 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the 9 * license. 10 */ 11 12 #ifndef FINANCIAL_H 13 #define FINANCIAL_H 14 15 #include "mp.h" 16 #include "math-equation.h" 17 18 void do_finc_expression(MathEquation *equation, int function, MPNumber *arg1, MPNumber *arg2, MPNumber *arg3, MPNumber *arg4); 19 20 enum finc_dialogs { 21 FINC_CTRM_DIALOG, 22 FINC_DDB_DIALOG, 23 FINC_FV_DIALOG, 24 FINC_GPM_DIALOG, 25 FINC_PMT_DIALOG, 26 FINC_PV_DIALOG, 27 FINC_RATE_DIALOG, 28 FINC_SLN_DIALOG, 29 FINC_SYD_DIALOG, 30 FINC_TERM_DIALOG 31 }; 32 33 #endif /* FINANCIAL_H */ 34