Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / calendar / gui / e-day-view-main-item.h
blob567565bfc07b994b8423b013d949b3708c2910e9
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 * Authors:
17 * Damon Chaplin <damon@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 * EDayViewMainItem - canvas item which displays most of the appointment
25 * data in the main Day/Work Week display.
28 #ifndef E_DAY_VIEW_MAIN_ITEM_H
29 #define E_DAY_VIEW_MAIN_ITEM_H
31 #include "e-day-view.h"
33 /* Standard GObject macros */
34 #define E_TYPE_DAY_VIEW_MAIN_ITEM \
35 (e_day_view_main_item_get_type ())
36 #define E_DAY_VIEW_MAIN_ITEM(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST \
38 ((obj), E_TYPE_DAY_VIEW_MAIN_ITEM, EDayViewMainItem))
39 #define E_DAY_VIEW_MAIN_ITEM_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_CAST \
41 ((cls), E_TYPE_DAY_VIEW_MAIN_ITEM, EDayViewMainItemClass))
42 #define E_IS_DAY_VIEW_MAIN_ITEM(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE \
44 ((obj), E_TYPE_DAY_VIEW_MAIN_ITEM))
45 #define E_IS_DAY_VIEW_MAIN_ITEM_CLASS(cls) \
46 (G_TYPE_CHECK_CLASS_TYPE \
47 ((cls), E_TYPE_DAY_VIEW_MAIN_ITEM))
48 #define E_DAY_VIEW_MAIN_ITEM_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_TYPE \
50 ((obj), E_TYPE_DAY_VIEW_MAIN_ITEM, EDayViewMainItemClass))
52 G_BEGIN_DECLS
54 typedef struct _EDayViewMainItem EDayViewMainItem;
55 typedef struct _EDayViewMainItemClass EDayViewMainItemClass;
56 typedef struct _EDayViewMainItemPrivate EDayViewMainItemPrivate;
58 struct _EDayViewMainItem {
59 GnomeCanvasItem parent;
60 EDayViewMainItemPrivate *priv;
63 struct _EDayViewMainItemClass {
64 GnomeCanvasItemClass parent_class;
67 GType e_day_view_main_item_get_type (void);
68 EDayView * e_day_view_main_item_get_day_view
69 (EDayViewMainItem *main_item);
70 void e_day_view_main_item_set_day_view
71 (EDayViewMainItem *main_item,
72 EDayView *day_view);
74 G_END_DECLS
76 #endif /* E_DAY_VIEW_MAIN_ITEM_H */