QofExpense Struct Reference

Detailed Description

Wraps QOF around Expense_t.

This allows QOF to build as an option rather than adding QofInstance to Expense_t and requiring QOF for all builds.

Definition at line 469 of file qof-expenses.c.

Data Fields

QofInstance inst
Expense_t wrap
enum ExpenseDistance distance_unit
gchar * category
const gchar * print_string
gdouble temp_amount
gboolean reset_amount

Field Documentation

gdouble QofExpense::temp_amount

The amount is set before the currency code is available so this acts as a buffer until both pieces of data are available.

Definition at line 477 of file qof-expenses.c.

Referenced by exp_combine_currency_with_amount(), and exp_setAmount().

gboolean QofExpense::reset_amount

Denote whether the buffer should be used.

Definition at line 480 of file qof-expenses.c.

Referenced by exp_setAmount().

The documentation for this struct was generated from the following file:
Generated on Tue Mar 6 00:08:10 2007 for pilot-qof by  doxygen 1.5.1