Mercurial > pidgin
comparison doc/imgstore-signals.dox @ 16686:4a020cf5942d
merge of '45bdc7f0cf3d3c9229f3fcd9de71b882131c05c0'
and '8ce6e4b908249fabc820ae1eb512cc4ee075282a'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 30 Apr 2007 00:45:01 +0000 |
parents | 61ddeb85ab86 |
children | e0613cf8c493 |
comparison
equal
deleted
inserted
replaced
16685:34618fedf5b9 | 16686:4a020cf5942d |
---|---|
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 |