GnuCash c935c2f+
Loading...
Searching...
No Matches
formulacell.h
Go to the documentation of this file.
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 gnu@gnu.org *
20\********************************************************************/
21
30 /* Copyright (c) 2002 Joshua Sled <jsled@asynchronous.org> */
31
32#ifndef FORMULA_CELL_H
33#define FORMULA_CELL_H
34
35#include <time.h>
36
37#include "gnc-ui-util.h"
38
39#include "basiccell.h"
40#include "qof.h"
41
42typedef struct
43{
44 BasicCell cell;
45
48
50 char *formula;
52
53/* installs a callback to handle date recording */
54BasicCell* gnc_formula_cell_new (void);
55
56void gnc_formula_cell_set_value( FormulaCell *fc, const char *newVal );
58#endif /* FORMULA_CELL_H */
59
60/* --------------- end of file ---------------------- */
utility functions for the GnuCash UI
The FormulaCell is a register-table cell which can contain a formula involving numbers,...
Definition formulacell.h:43
char * formula
The user-entered formula.
Definition formulacell.h:50
GNCPrintAmountInfo print_info
The print-info for numeric values.
Definition formulacell.h:47