GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
formulacell.h
1 /********************************************************************\
2  * formulacell.h -- Formula entry/display cell *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 2 of *
7  * the License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License*
15  * along with this program; if not, contact: *
16  * *
17  * Free Software Foundation Voice: +1-617-542-5942 *
18  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19  * Boston, MA 02110-1301, USA [email protected] *
20 \********************************************************************/
21 
35 #ifndef FORMULA_CELL_H
36 #define FORMULA_CELL_H
37 
38 #include <time.h>
39 
40 #include "gnc-ui-util.h"
41 
42 #include "basiccell.h"
43 #include "qof.h"
44 
45 typedef struct _FormulaCell
46 {
47  BasicCell cell;
48 
51 
53  char *formula;
54 } FormulaCell;
55 
56 /* installs a callback to handle date recording */
57 BasicCell* gnc_formula_cell_new (void);
58 
59 void gnc_formula_cell_set_value( FormulaCell *fc, const char *newVal );
60 
61 #endif /* FORMULA_CELL_H */
62 
63 /* --------------- end of file ---------------------- */
64 
utility functions for the GnuCash UI
GNCPrintAmountInfo print_info
Definition: formulacell.h:50
char * formula
Definition: formulacell.h:53