Assamese translation updated
[platform/upstream/evolution-data-server.git] / libedataserverui / e-cell-renderer-color.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-cell-renderer-color.h
3  *
4  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of version 2 of the GNU Lesser General Public
8  * License as published by the Free Software Foundation.
9  *
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 GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
22 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
23 #endif
24
25 #ifndef _E_CELL_RENDERER_COLOR_H_
26 #define _E_CELL_RENDERER_COLOR_H_
27
28 #include <gtk/gtk.h>
29
30 /* Standard GObject macros */
31 #define E_TYPE_CELL_RENDERER_COLOR \
32         (e_cell_renderer_color_get_type ())
33 #define E_CELL_RENDERER_COLOR(obj) \
34         (G_TYPE_CHECK_INSTANCE_CAST \
35         ((obj), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColor))
36 #define E_CELL_RENDERER_COLOR_CLASS(cls) \
37         (G_TYPE_CHECK_CLASS_CAST \
38         ((cls), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColorClass))
39 #define E_IS_CELL_RENDERER_COLOR(obj) \
40         (G_TYPE_CHECK_INSTANCE_TYPE \
41         ((obj), E_TYPE_CELL_RENDERER_COLOR))
42 #define E_IS_CELL_RENDERER_COLOR_CLASS(cls) \
43         (G_TYPE_CHECK_CLASS_TYPE ((cls), E_TYPE_CELL_RENDERER_COLOR))
44 #define E_CELL_RENDERER_COLOR_GET_CLASS(obj) \
45         (G_TYPE_INSTANCE_GET_CLASS \
46         ((obj), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColorClass))
47
48 G_BEGIN_DECLS
49
50 typedef struct _ECellRendererColor ECellRendererColor;
51 typedef struct _ECellRendererColorClass ECellRendererColorClass;
52 typedef struct _ECellRendererColorPrivate ECellRendererColorPrivate;
53
54 /**
55  * ECellRendererColor:
56  *
57  * Since: 2.22
58  **/
59 struct _ECellRendererColor {
60         GtkCellRenderer parent;
61         ECellRendererColorPrivate *priv;
62 };
63
64 struct _ECellRendererColorClass {
65         GtkCellRendererClass parent_class;
66
67         /* Padding for future expansion */
68         void (*_gtk_reserved1) (void);
69         void (*_gtk_reserved2) (void);
70         void (*_gtk_reserved3) (void);
71         void (*_gtk_reserved4) (void);
72 };
73
74 GType            e_cell_renderer_color_get_type (void);
75 GtkCellRenderer *e_cell_renderer_color_new      (void);
76
77 G_END_DECLS
78
79 #endif /* _E_CELL_RENDERER_COLOR_H_ */