view plugins/perl/common/ImgStore.xs @ 11249:b4b1be482b4e

[gaim-migrate @ 13418] sf patch #1235519, from Sadrul Habib Chowdhury This is a pretty big patch that makes Gaim correctly save and restore the current status (away/available, away message, available message, invisible, etc). The GaimGtkStatusBoxWidget thing I think defaults to "Available" every time its created, which overrides the setting that was saved to the XML file. So that still needs to be fixed before this will really work. Anyway, mad props to Sadrul for putting up with my requests on this patch committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 05:22:09 +0000
parents 134d0001983d
children b284c703d398
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