1 /*
2  * Copyright (C) 2010 Igalia S.L.
3  *
4  * Contact: Iago Toral Quiroga <itoral@igalia.com>
5  *
6  * Authors: Juan A. Suarez Romero <jasuarez@igalia.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  */
24 
25 #ifndef _GRL_GRAVATAR_H_
26 #define _GRL_GRAVATAR_H_
27 
28 #include <grilo.h>
29 
30 #define GRL_GRAVATAR_SOURCE_TYPE                \
31   (grl_gravatar_source_get_type ())
32 
33 #define GRL_GRAVATAR_SOURCE(obj)                                \
34   (G_TYPE_CHECK_INSTANCE_CAST ((obj),                           \
35                                GRL_GRAVATAR_SOURCE_TYPE,        \
36                                GrlGravatarSource))
37 
38 #define GRL_IS_GRAVATAR_SOURCE(obj)                             \
39   (G_TYPE_CHECK_INSTANCE_TYPE ((obj),                           \
40                                GRL_GRAVATAR_SOURCE_TYPE))
41 
42 #define GRL_GRAVATAR_SOURCE_CLASS(klass)                \
43   (G_TYPE_CHECK_CLASS_CAST((klass),                     \
44                            GRL_GRAVATAR_SOURCE_TYPE,    \
45                            GrlGravatarSourceClass))
46 
47 #define GRL_IS_GRAVATAR_SOURCE_CLASS(klass)             \
48   (G_TYPE_CHECK_CLASS_TYPE((klass),                     \
49                            GRL_GRAVATAR_SOURCE_TYPE))
50 
51 #define GRL_GRAVATAR_SOURCE_GET_CLASS(obj)              \
52   (G_TYPE_INSTANCE_GET_CLASS ((obj),                    \
53                               GRL_GRAVATAR_SOURCE_TYPE, \
54                               GrlGravatarSourceClass))
55 
56 typedef struct _GrlGravatarSource GrlGravatarSource;
57 
58 struct _GrlGravatarSource {
59 
60   GrlSource parent;
61 
62 };
63 
64 typedef struct _GrlGravatarSourceClass GrlGravatarSourceClass;
65 
66 struct _GrlGravatarSourceClass {
67 
68   GrlSourceClass parent_class;
69 
70 };
71 
72 GType grl_gravatar_source_get_type (void);
73 
74 #endif /* _GRL_GRAVATAR_H_ */
75