1 /*
2  *
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU Lesser General Public License as published by
5  * the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful, but
8  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
10  * for more details.
11  *
12  * You should have received a copy of the GNU Lesser General Public License
13  * along with this program; if not, see <http://www.gnu.org/licenses/>.
14  *
15  *
16  * Authors:
17  *		Damon Chaplin <damon@ximian.com>
18  *
19  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
20  *
21  */
22 
23 /*
24  * EWeekViewTitlesItem - displays the 'Monday', 'Tuesday' etc. at the top of
25  * the Month calendar view.
26  */
27 
28 #ifndef E_WEEK_VIEW_TITLES_ITEM_H
29 #define E_WEEK_VIEW_TITLES_ITEM_H
30 
31 #include "e-week-view.h"
32 
33 /* Standard GObject macros */
34 #define E_TYPE_WEEK_VIEW_TITLES_ITEM \
35 	(e_week_view_titles_item_get_type ())
36 #define E_WEEK_VIEW_TITLES_ITEM(obj) \
37 	(G_TYPE_CHECK_INSTANCE_CAST \
38 	((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItem))
39 #define E_WEEK_VIEW_TITLES_ITEM_CLASS(cls) \
40 	(G_TYPE_CHECK_CLASS_CAST \
41 	((cls), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItemClass))
42 #define E_IS_WEEK_VIEW_TITLES_ITEM(obj) \
43 	(G_TYPE_CHECK_INSTANCE_TYPE \
44 	((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM))
45 #define E_IS_WEEK_VIEW_TITLES_ITEM_CLASS(cls) \
46 	(G_TYPE_CHECK_CLASS_TYPE \
47 	((cls), E_TYPE_WEEK_VIEW_TITLES_ITEM))
48 #define E_WEEK_VIEW_TITLES_ITEM_GET_CLASS(obj) \
49 	(G_TYPE_INSTANCE_GET_CLASS \
50 	((obj), E_TYPE_WEEK_VIEW_TITLES_ITEM, EWeekViewTitlesItemClass))
51 
52 G_BEGIN_DECLS
53 
54 typedef struct _EWeekViewTitlesItem EWeekViewTitlesItem;
55 typedef struct _EWeekViewTitlesItemClass EWeekViewTitlesItemClass;
56 typedef struct _EWeekViewTitlesItemPrivate EWeekViewTitlesItemPrivate;
57 
58 struct _EWeekViewTitlesItem {
59 	GnomeCanvasItem parent;
60 	EWeekViewTitlesItemPrivate *priv;
61 };
62 
63 struct _EWeekViewTitlesItemClass {
64 	GnomeCanvasItemClass parent_class;
65 };
66 
67 GType		e_week_view_titles_item_get_type (void);
68 EWeekView *	e_week_view_titles_item_get_week_view
69 						(EWeekViewTitlesItem *titles_item);
70 void		e_week_view_titles_item_set_week_view
71 						(EWeekViewTitlesItem *titles_item,
72 						 EWeekView *week_view);
73 
74 G_END_DECLS
75 
76 #endif /* E_WEEK_VIEW_TITLES_ITEM_H */
77