QOF iteration and callbacks

Derek Atkins warlord at MIT.EDU
Sun Jun 20 12:16:20 EDT 2004

linas at linas.org (Linas Vepstas) writes:

> On Sun, Jun 20, 2004 at 12:02:28PM -0400, Derek Atkins was heard to remark:
>> The idea here is a general BookMerge, to allow you to combine two
>> books together.  This has many purposes:
> Ahh, OK, that makes sense. I've sort-of wanted that feature for a 
> while. (well, for gnotime, actually, but ... hey.)


Yea, lots of people have wanted this in one form or another, which is
why I've been encouraging Neil to work on it.

> /** Type definition for the class callback function. */
> typedef void (*QofClassForeachCB) (QofIdTypeConst, gpointer);
> /** Call the callback once for each object class that is registered
>  *  with the system.  The 'user_data' is passed back to the callback.
>  */
> void qof_class_foreach (QofClassForeachCB, gpointer user_data);

We already had qof_object_foreach_type(); why do we need a


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list