Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / e-comp-editor-page-schedule.h
bloba8a05362d4acc6f8ed175e0df77d2502b24f5284
1 /*
2 * Copyright (C) 2015 Red Hat, Inc. (www.redhat.com)
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef E_COMP_EDITOR_PAGE_SCHEDULE_H
19 #define E_COMP_EDITOR_PAGE_SCHEDULE_H
21 #include <calendar/gui/e-comp-editor.h>
22 #include <calendar/gui/e-comp-editor-page.h>
23 #include <calendar/gui/e-meeting-store.h>
24 #include <calendar/gui/e-meeting-time-sel.h>
26 /* Standard GObject macros */
28 #define E_TYPE_COMP_EDITOR_PAGE_SCHEDULE \
29 (e_comp_editor_page_schedule_get_type ())
30 #define E_COMP_EDITOR_PAGE_SCHEDULE(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST \
32 ((obj), E_TYPE_COMP_EDITOR_PAGE_SCHEDULE, ECompEditorPageSchedule))
33 #define E_COMP_EDITOR_PAGE_SCHEDULE_CLASS(cls) \
34 (G_TYPE_CHECK_CLASS_CAST \
35 ((cls), E_TYPE_COMP_EDITOR_PAGE_SCHEDULE, ECompEditorPageScheduleClass))
36 #define E_IS_COMP_EDITOR_PAGE_SCHEDULE(obj) \
37 (G_TYPE_CHECK_INSTANCE_TYPE \
38 ((obj), E_TYPE_COMP_EDITOR_PAGE_SCHEDULE))
39 #define E_IS_COMP_EDITOR_PAGE_SCHEDULE_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_TYPE \
41 ((cls), E_TYPE_COMP_EDITOR_PAGE_SCHEDULE))
42 #define E_COMP_EDITOR_PAGE_SCHEDULE_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS \
44 ((obj), E_TYPE_COMP_EDITOR_PAGE_SCHEDULE, ECompEditorPageScheduleClass))
46 typedef struct _ECompEditorPageSchedule ECompEditorPageSchedule;
47 typedef struct _ECompEditorPageScheduleClass ECompEditorPageScheduleClass;
48 typedef struct _ECompEditorPageSchedulePrivate ECompEditorPageSchedulePrivate;
50 struct _ECompEditorPageSchedule {
51 ECompEditorPage parent;
53 ECompEditorPageSchedulePrivate *priv;
56 struct _ECompEditorPageScheduleClass {
57 ECompEditorPageClass parent_class;
60 GType e_comp_editor_page_schedule_get_type (void) G_GNUC_CONST;
61 ECompEditorPage *
62 e_comp_editor_page_schedule_new (ECompEditor *editor,
63 EMeetingStore *meeting_store);
64 EMeetingStore * e_comp_editor_page_schedule_get_store (ECompEditorPageSchedule *page_schedule);
65 EMeetingTimeSelector *
66 e_comp_editor_page_schedule_get_time_selector
67 (ECompEditorPageSchedule *page_schedule);
69 G_END_DECLS
71 #endif /* E_COMP_EDITOR_PAGE_SCHEDULE_H */