r14246 - gnucash/branches/register-rewrite/src - Some convenient engine api changes/additions.

Chris Shoemaker chris at cvs.gnucash.org
Mon May 29 16:49:00 EDT 2006


Author: chris
Date: 2006-05-29 16:48:58 -0400 (Mon, 29 May 2006)
New Revision: 14246
Trac: http://svn.gnucash.org/trac/changeset/14246

Modified:
   gnucash/branches/register-rewrite/src/engine/Split.c
   gnucash/branches/register-rewrite/src/engine/Split.h
   gnucash/branches/register-rewrite/src/engine/Transaction.c
   gnucash/branches/register-rewrite/src/engine/Transaction.h
   gnucash/branches/register-rewrite/src/register/ledger-core/split-register-model.c
Log:
   Some convenient engine api changes/additions.
   - make xaccSplitConvertAmount() take the target commodity instead of account
     - fix the one caller.
   - add xaccTransSetRateForCommodity(), xaccTransAdjustRateForCommodity() and
     xaccTransGetRateForCommodity() for managing the rates internal to a trans.




More information about the gnucash-patches mailing list