view doc/imgstore-signals.dox @ 20273:187fa336c1b0

Plucked mysapce tag parsing fixes applied changes from c5468fb873563f4e1249323a03f5531e192965f3 through 34d642b12b7215d55fd032cd513a7e225715f19a applied changes from 43e06ba1c67cc326d2d93f14d67709b2375da88b through bf8de57ed4c36f188044ea0684c201d0a1a67169 applied changes from 854642c5c0ea1bb31de3fd0dc5b0c480b70fc327 through 5a661e7759c94109af265616312c40858ae77e27
author Evan Schoenberg <evan.s@dreskin.net>
date Fri, 28 Sep 2007 21:30:15 +0000
parents 61ddeb85ab86
children e0613cf8c493
line wrap: on
line source

/** @page imgstore-signals Image Store Signals

 @signals
  @signal image-deleting
 @endsignals

 <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 tw=75 et