enable external editor on windows. patch by Thorsten Maerz
[claws.git] / src / avatars.h
blobc7ac1c91f7b82c2b535c241508869f0f53df2f8c
1 /*
2 * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 2014 Ricardo Mones and the Claws Mail team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __AVATARS_H__
20 #define __AVATARS_H__
22 #include <glib.h>
23 #include <gdk/gdk.h>
24 #include <gtk/gtk.h>
26 #include "proctypes.h"
28 #define AVATAR_IMAGE_RENDER_HOOKLIST "avatar_image_render"
30 typedef struct _AvatarRender AvatarRender;
32 struct _AvatarRender
34 MsgInfo *full_msginfo;
35 GtkWidget *image;
36 gint type;
39 AvatarRender *avatars_avatarrender_new (MsgInfo *msginfo);
40 void avatars_avatarrender_free (AvatarRender *avrender);
42 gboolean avatars_internal_rendering_hook (gpointer source,
43 gpointer data);
45 void avatars_init (void);
46 void avatars_done (void);
48 #endif