1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2006 Xavier Claessens <xclaesse@gmail.com>
4 * Copyright (C) 2007 Collabora Ltd.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 * Authors: Xavier Claessens <xclaesse@gmail.com>
23 #ifndef __EMPATHY_AVATAR_H__
24 #define __EMPATHY_AVATAR_H__
26 #include <glib-object.h>
30 #define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())
32 typedef struct _EmpathyAvatar EmpathyAvatar;
34 struct _EmpathyAvatar {
42 GType empathy_avatar_get_type (void) G_GNUC_CONST;
43 EmpathyAvatar * empathy_avatar_new (const guchar *avatar,
47 EmpathyAvatar * empathy_avatar_new_from_cache (const gchar *token);
48 EmpathyAvatar * empathy_avatar_ref (EmpathyAvatar *avatar);
49 void empathy_avatar_unref (EmpathyAvatar *avatar);
53 #endif /* __EMPATHY_AVATAR_H__ */