1 /* 2 * Copyright (C) 2015 Red Hat, Inc. (www.redhat.com) 3 * 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. 7 * 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. 12 * 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/>. 15 * 16 */ 17 18 #ifndef E_COMP_EDITOR_TASK_H 19 #define E_COMP_EDITOR_TASK_H 20 21 #include <calendar/gui/e-comp-editor.h> 22 23 /* Standard GObject macros */ 24 25 #define E_TYPE_COMP_EDITOR_TASK \ 26 (e_comp_editor_task_get_type ()) 27 #define E_COMP_EDITOR_TASK(obj) \ 28 (G_TYPE_CHECK_INSTANCE_CAST \ 29 ((obj), E_TYPE_COMP_EDITOR_TASK, ECompEditorTask)) 30 #define E_COMP_EDITOR_TASK_CLASS(cls) \ 31 (G_TYPE_CHECK_CLASS_CAST \ 32 ((cls), E_TYPE_COMP_EDITOR_TASK, ECompEditorTaskClass)) 33 #define E_IS_COMP_EDITOR_TASK(obj) \ 34 (G_TYPE_CHECK_INSTANCE_TYPE \ 35 ((obj), E_TYPE_COMP_EDITOR_TASK)) 36 #define E_IS_COMP_EDITOR_TASK_CLASS(cls) \ 37 (G_TYPE_CHECK_CLASS_TYPE \ 38 ((cls), E_TYPE_COMP_EDITOR_TASK)) 39 #define E_COMP_EDITOR_TASK_GET_CLASS(obj) \ 40 (G_TYPE_INSTANCE_GET_CLASS \ 41 ((obj), E_TYPE_COMP_EDITOR_TASK, ECompEditorTaskClass)) 42 43 G_BEGIN_DECLS 44 45 typedef struct _ECompEditorTask ECompEditorTask; 46 typedef struct _ECompEditorTaskClass ECompEditorTaskClass; 47 typedef struct _ECompEditorTaskPrivate ECompEditorTaskPrivate; 48 49 struct _ECompEditorTask { 50 ECompEditor parent; 51 52 ECompEditorTaskPrivate *priv; 53 }; 54 55 struct _ECompEditorTaskClass { 56 ECompEditorClass parent_class; 57 }; 58 59 GType e_comp_editor_task_get_type (void) G_GNUC_CONST; 60 61 G_END_DECLS 62 63 #endif /* E_COMP_EDITOR_TASK_H */ 64