[Gnucash-changes] r11811 - outline cashutil build support

Neil Williams linux at codehelp.co.uk
Sat Nov 5 14:32:43 EST 2005


On Saturday 05 November 2005 4:19 am, Derek Atkins wrote:
> Neil Williams <linux at codehelp.co.uk> writes:
> > gncOrder                Order
>
> Please dont support this object.  The GncOrder is not in
> the gnucash GUI for a reason...  You shouldn't support
> it.  It's not finished, and the code has not been tested
> and is not guaranteed to be correct.

gncOrder is registered in the current business code (it has been for at least 
3 years) (libgncmod_business_core_LTX_gnc_module_init) so I kept that 
registration in the cashutil code - I did notice your comment about removing 
it from doxygen.

Should gncOrder be removed from the replacement to 
libgncmod_business_core_LTX_gnc_module_init - bus_cashobjects_register ?

        g_return_val_if_fail ( gncOrderRegister (), FALSE);

This would prevent gncOrder being registered with QOF.

cashutil will support whatever QOF objects are registered.

Do any other objects require a gncOrder object? gncEntry does appear to use 
gncOrder - it has a parent gncOrder pointer and a GNC_ID_ORDER parameter:

    { ENTRY_ORDER, GNC_ID_ORDER, (QofAccessFunc)gncEntryGetOrder, NULL },

That could have to be removed before gncOrder could be de-registered in QOF.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051105/f342299d/attachment.bin


More information about the gnucash-devel mailing list