CVS update: gnucash/src/business/business-core
Derek Atkins
warlord@linas.org
Sat, 2 Mar 2002 20:17:02 -0600 (CST)
Date: Saturday March 2, 2002 @ 20:17
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/business/business-core
In directory www.linas.org:/tmp/cvs-serv5598/src/business/business-core
Modified Files:
gncCustomer.c gncCustomerP.h gncEmployee.c gncEmployeeP.h
gncInvoice.c gncInvoiceP.h gncJob.c gncJobP.h gncOrder.c
gncOrderP.h gncVendor.c gncVendorP.h
Log Message:
- Add new Backend method, counter(), which increments a named counter and
returns the new value.
- Add gnc_book_get_counter() which implements the API and calls the
counter() method in the backend if it exists. If not, it stores the
counters in the Book KVP Frame.
- Modify all the Business objects to use the new counter API. Counter is
gint64 so modify all the users to expect that.