GnuCash c935c2f+
Loading...
Searching...
No Matches
Data Fields
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 71 of file window-main-summarybar.c.

Field Documentation

◆ assets

gnc_numeric GNCCurrencyAcc::assets

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

◆ currency

gnc_commodity* GNCCurrencyAcc::currency

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

◆ profits

gnc_numeric GNCCurrencyAcc::profits

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

◆ total_mode

gint GNCCurrencyAcc::total_mode

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


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