|
GnuCash 2.4.99
|
00001 /********************************************************************\ 00002 * formulacell.h -- Formula entry/display cell * 00003 * * 00004 * This program is free software; you can redistribute it and/or * 00005 * modify it under the terms of the GNU General Public License as * 00006 * published by the Free Software Foundation; either version 2 of * 00007 * the License, or (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU General Public License* 00015 * along with this program; if not, contact: * 00016 * * 00017 * Free Software Foundation Voice: +1-617-542-5942 * 00018 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00019 * Boston, MA 02110-1301, USA gnu@gnu.org * 00020 \********************************************************************/ 00021 00035 #ifndef FORMULA_CELL_H 00036 #define FORMULA_CELL_H 00037 00038 #include <time.h> 00039 00040 #include "gnc-ui-util.h" 00041 00042 #include "basiccell.h" 00043 #include "qof.h" 00044 00045 typedef struct _FormulaCell 00046 { 00047 BasicCell cell; 00048 00050 GNCPrintAmountInfo print_info; 00051 00053 char *formula; 00054 } FormulaCell; 00055 00056 /* installs a callback to handle date recording */ 00057 BasicCell* gnc_formula_cell_new (void); 00058 00059 void gnc_formula_cell_set_value( FormulaCell *fc, const char *newVal ); 00060 00061 #endif /* FORMULA_CELL_H */ 00062 00063 /* --------------- end of file ---------------------- */ 00064
1.7.4