comparison doc/imgstore-signals.dox @ 16680:61ddeb85ab86

Document the image-deleting signal.
author Richard Laager <rlaager@wiktel.com>
date Sun, 29 Apr 2007 23:34:04 +0000
parents
children e0613cf8c493
comparison
equal deleted inserted replaced
16679:07b5cf0a46e2 16680:61ddeb85ab86
1 /** @page imgstore-signals Image Store Signals
2
3 @signals
4 @signal image-deleting
5 @endsignals
6
7 <hr>
8
9 @signaldef image-deleting
10 @signalproto
11 char *(*image_deleting)(const PurpleStoredImage *img);
12 @endsignalproto
13 @signaldesc
14 Emitted when a PurpleStoredImage is about to be destroyed. This allows
15 for what amounts to weak references. Code can hold onto a pointer to
16 the PurpleStoredImage without actually "holding" a reference. They can
17 then use a signal handler to let them know when their img is about to
18 be destroyed.
19 @param img The image about to be destroyed.
20 @note It's not possible to purple_imgstore_ref() img to save it.
21 @endsignaldef
22
23 */
24 // vim: syntax=c tw=75 et