[QOF-devel] Outline of new qofevent support

Neil Williams linux at codehelp.co.uk
Mon Feb 20 13:19:59 EST 2006


On Monday 20 February 2006 3:42 pm, Neil Williams wrote:

Update:

> 3. A new handler prototype is added: QofEventHandler:
> typedef void(* QofEventHandler)(QofEntity *ent, QofEventNameConst
> event_type, gpointer user_data) where QofEventNameConst is a const gchar*.
Modified:
typedef void (*QofEventHandler) (QofEntity *ent,  QofEventId event_type,
 gpointer user_data); where typedef gint QofEventId;

This makes for easier comparisons.

> Although the added names will be available via a foreach,

(removed the iteration - not needed)

> 4. New events are added as simple strings using void
> qof_event_add_name ( QofEventNameConst new_event_name ) at any time prior
> to generating an event using that name.

(removed need for pre-registration)

> Testing continues and then I'll make a QOF 0.6.2 release.

continuing....

-- 

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/20060220/516c8aef/attachment.bin


More information about the gnucash-devel mailing list