GnuCash 7574033+
Loading...
Searching...
No Matches
GNCCurrencyAcc Struct Reference

An accumulator for a given currency. More...

Data Fields

gnc_commodity * currency
gnc_numeric assets
gnc_numeric profits
gint total_mode

Detailed Description

An accumulator for a given currency.

This is used during the update to the status bar to contain the accumulation for a single currency. These are placed in a GList and kept around for the duration of the calculation. There may, in fact be better ways to do this, but none occurred.

Todo
This structure and the non-GUI code that computes it's values should move into the engine.

Definition at line 79 of file window-main-summarybar.c.

Field Documentation

◆ assets

gnc_numeric GNCCurrencyAcc::assets

Definition at line 82 of file window-main-summarybar.c.

◆ currency

gnc_commodity* GNCCurrencyAcc::currency

Definition at line 81 of file window-main-summarybar.c.

◆ profits

gnc_numeric GNCCurrencyAcc::profits

Definition at line 83 of file window-main-summarybar.c.

◆ total_mode

gint GNCCurrencyAcc::total_mode

Definition at line 84 of file window-main-summarybar.c.


The documentation for this struct was generated from the following file: