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/
pgpUxdubWMaPr.pgp
Description: PGP signature
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel