On Saturday 05 November 2005 4:19 am, Derek Atkins wrote: > Neil Williams <[EMAIL PROTECTED]> 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/
pgpiYW9fOBRKV.pgp
Description: PGP signature
_______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
