3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
18 * Bolian Yin <bolian.yin@sun.com>
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 #ifndef __EA_DAY_VIEW_CELL_H__
25 #define __EA_DAY_VIEW_CELL_H__
27 #include <atk/atkgobjectaccessible.h>
28 #include "e-day-view.h"
32 #define E_TYPE_DAY_VIEW_CELL (e_day_view_cell_get_type ())
33 #define E_DAY_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_DAY_VIEW_CELL, EDayViewCell))
34 #define E_DAY_VIEW_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_DAY_VIEW_CELL, EDayViewCellClass))
35 #define E_IS_DAY_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_DAY_VIEW_CELL))
36 #define E_IS_DAY_VIEW_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_DAY_VIEW_CELL))
37 #define E_DAY_VIEW_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_DAY_VIEW_CELL, EDayViewCellClass))
39 typedef struct _EDayViewCell EDayViewCell
;
40 typedef struct _EDayViewCellClass EDayViewCellClass
;
50 GType
e_day_view_cell_get_type (void);
52 struct _EDayViewCellClass
54 GObjectClass parent_class
;
57 EDayViewCell
* e_day_view_cell_new (EDayView
*day_view
, gint row
, gint column
);
59 #define EA_TYPE_DAY_VIEW_CELL (ea_day_view_cell_get_type ())
60 #define EA_DAY_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_DAY_VIEW_CELL, EaDayViewCell))
61 #define EA_DAY_VIEW_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EA_TYPE_DAY_VIEW_CELL, EaDayViewCellClass))
62 #define EA_IS_DAY_VIEW_CELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EA_TYPE_DAY_VIEW_CELL))
63 #define EA_IS_DAY_VIEW_CELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EA_TYPE_DAY_VIEW_CELL))
64 #define EA_DAY_VIEW_CELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EA_TYPE_DAY_VIEW_CELL, EaDayViewCellClass))
66 typedef struct _EaDayViewCell EaDayViewCell
;
67 typedef struct _EaDayViewCellClass EaDayViewCellClass
;
71 AtkGObjectAccessible parent
;
74 GType
ea_day_view_cell_get_type (void);
76 struct _EaDayViewCellClass
78 AtkGObjectAccessibleClass parent_class
;
81 AtkObject
* ea_day_view_cell_new (GObject
*gobj
);
85 #endif /* __EA_DAY_VIEW_CELL_H__ */