Mercurial > pidgin.yaz
view doc/imgstore-signals.dox @ 26080:0d6bd0eca4cb
propagate from branch 'im.pidgin.pidgin' (head 8e99bf9be800f9578d7e94cc4d522d435cfc80dd)
to branch 'im.pidgin.pidgin.vv' (head e96b8392652eff68af61abf72fa6667c0564e2ab)
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Wed, 07 Jan 2009 03:07:01 +0000 |
parents | e0613cf8c493 |
children |
line wrap: on
line source
/** @page imgstore-signals Image Store Signals @signals @signal image-deleting @endsignals @see imgstore.h <hr> @signaldef image-deleting @signalproto char *(*image_deleting)(const PurpleStoredImage *img); @endsignalproto @signaldesc Emitted when a #PurpleStoredImage is about to be destroyed. This allows for what amounts to weak references. Code can hold onto a pointer to the PurpleStoredImage without actually "holding" a reference. They can then use a signal handler to let them know when their img is about to be destroyed. @param img The image about to be destroyed. @note It's not possible to purple_imgstore_ref() img to save it. @endsignaldef */ // vim: syntax=c.doxygen tw=75 et