1 /*
2  * e-emoticon.h
3  *
4  * Copyright (C) 2008 Novell, Inc.
5  * Copyright (C) 2012 Dan Vrátil <dvratil@redhat.com>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of version 2 of the GNU Lesser General Public
9  * License as published by the Free Software Foundation.
10  *
11  * This program 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  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
22 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
23 #error "Only <e-util/e-util.h> should be included directly."
24 #endif
25 
26 #ifndef E_EMOTICON_H
27 #define E_EMOTICON_H
28 
29 #include <glib-object.h>
30 
31 #define E_TYPE_EMOTICON \
32 	(e_emoticon_get_type ())
33 
34 G_BEGIN_DECLS
35 
36 typedef struct _EEmoticon EEmoticon;
37 
38 struct _EEmoticon {
39 	gchar *label;
40 	gchar *icon_name;
41 	gchar *unicode_character;
42 	gchar *text_face;
43 };
44 
45 GType		e_emoticon_get_type		(void) G_GNUC_CONST;
46 gboolean	e_emoticon_equal		(EEmoticon *emoticon_a,
47 						 EEmoticon *emoticon_b);
48 EEmoticon *	e_emoticon_copy			(EEmoticon *emoticon);
49 void		e_emoticon_free			(EEmoticon *emoticon);
50 gchar *		e_emoticon_get_uri		(EEmoticon *emoticon);
51 const gchar *	e_emoticon_get_name		(EEmoticon *emoticon);
52 
53 G_END_DECLS
54 
55 #endif /* E_EMOTICON_H */
56