libpurple/protocols/gg/avatar.h

Wed, 08 Aug 2012 10:02:43 +0200

author
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
date
Wed, 08 Aug 2012 10:02:43 +0200
branch
soc.2012.gg
changeset 33336
7c97b5dd3bf4
parent 33333
b20aed44c357
child 33348
2394cd23ce8f
permissions
-rw-r--r--

Gadu-Gadu: status refactoring - own status

#ifndef _GGP_AVATAR_H
#define _GGP_AVATAR_H

#include <internal.h>
#include <libgadu.h>

typedef struct
{
	guint timer;
	GList *pending_updates;
	
	gpointer current_update;
	gpointer own_data;
} ggp_avatar_session_data;

void ggp_avatar_setup(PurpleConnection *gc);
void ggp_avatar_cleanup(PurpleConnection *gc);

void ggp_avatar_buddy_update(PurpleConnection *gc, uin_t uin, time_t timestamp);
void ggp_avatar_buddy_remove(PurpleConnection *gc, uin_t uin);

void ggp_avatar_own_set(PurpleConnection *gc, PurpleStoredImage *img);

#endif /* _GGP_AVATAR_H */

mercurial