[XForms] Redone client callback

T.C. Zhao tc_zhao at yahoo.com
Thu Mar 18 01:57:45 EST 2004


Thanks, Jeff. I think it's a good addition.

--- Jeff <wd4nmq at comcast.net> wrote:
> To subscribers of the xforms list
> 
> 
> I changed code on my client callbacK to match the other callback calls.
>  In forms.h:
> typedef int (*FL_CLIENT_CALLBACK)(struct forms_ *, void *);
> 
> and:
> 
> FL_EXPORT FL_CLIENT_CALLBACK fl_register_client_callback(
>         FL_FORM *form,
>         FL_CLIENT_CALLBACK rcb
>         );
> 
> I added the new call in forms.c:
> FL_CLIENT_CALLBACK
> fl_register_client_callback(FL_FORM *form,FL_CLIENT_CALLBACK 
> clientCallback){
>   FL_CLIENT_CALLBACK old_rcb;
> 
>   old_rcb =form->client_callback;
>   form->client_callback = clientCallback;
>   return old_rcb;
> }
> 
> Jeff
> wd4nmq at comcast.net
> 
> 
> _______________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request at bob.usuhs.mil or see: 
> http://cweblog.usuhs.mil/mailman/listinfo/xforms
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/pipermail/xforms and
> http://bob.usuhs.mil/mailserv/list-archives/
> Development: http://savannah.nongnu.org/files/?group=xforms


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com



More information about the Xforms mailing list