Mercurial > pidgin
view plugins/perl/common/ImgStore.xs @ 12919:248b8b39c671
[gaim-migrate @ 15272]
Replace GaimBlistNodeAction with the more generic GaimMenuAction, this is in
preparation for letting the chat room user list have extensible menus like the
blist entries do. (I know it's not exactly the prettiest, and the callback
isn't exactly type-safe, when we eventually gobjectify everything we can get
some safety back by using (GObject, gpointer) but that's for later.)
I'm planning to look into merging GaimPluginActions into GaimMenuActions as
well.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 17 Jan 2006 23:22:19 +0000 |
parents | b284c703d398 |
children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::ImgStore PACKAGE = Gaim::ImgStore PREFIX = gaim_imgstore_ PROTOTYPES: ENABLE int gaim_imgstore_add(data, size, filename) void *data size_t size const char *filename Gaim::StoredImage gaim_imgstore_get(id) int id gpointer gaim_imgstore_get_data(i) Gaim::StoredImage i const char * gaim_imgstore_get_filename(i) Gaim::StoredImage i size_t gaim_imgstore_get_size(i) Gaim::StoredImage i void gaim_imgstore_ref(id) int id void gaim_imgstore_unref(id) int id