1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2016 Red Hat, Inc. (www.redhat.com)
4  *
5  * This library is free software: you can redistribute it and/or modify it
6  * under the terms of the GNU Lesser General Public License as published by
7  * the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
12  * for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
19 #error "Only <camel/camel.h> can be included directly."
20 #endif
21 
22 #ifndef CAMEL_MESSAGE_INFO_BASE_H
23 #define CAMEL_MESSAGE_INFO_BASE_H
24 
25 #include <glib-object.h>
26 
27 #include <camel/camel-message-info.h>
28 
29 /* Standard GObject macros */
30 #define CAMEL_TYPE_MESSAGE_INFO_BASE \
31 	(camel_message_info_base_get_type ())
32 #define CAMEL_MESSAGE_INFO_BASE(obj) \
33 	(G_TYPE_CHECK_INSTANCE_CAST \
34 	((obj), CAMEL_TYPE_MESSAGE_INFO_BASE, CamelMessageInfoBase))
35 #define CAMEL_MESSAGE_INFO_BASE_CLASS(cls) \
36 	(G_TYPE_CHECK_CLASS_CAST \
37 	((cls), CAMEL_TYPE_MESSAGE_INFO_BASE, CamelMessageInfoBaseClass))
38 #define CAMEL_IS_MESSAGE_INFO_BASE(obj) \
39 	(G_TYPE_CHECK_INSTANCE_TYPE \
40 	((obj), CAMEL_TYPE_MESSAGE_INFO_BASE))
41 #define CAMEL_IS_MESSAGE_INFO_BASE_CLASS(cls) \
42 	(G_TYPE_CHECK_CLASS_TYPE \
43 	((cls), CAMEL_TYPE_MESSAGE_INFO_BASE))
44 #define CAMEL_MESSAGE_INFO_BASE_GET_CLASS(obj) \
45 	(G_TYPE_INSTANCE_GET_CLASS \
46 	((obj), CAMEL_TYPE_MESSAGE_INFO_BASE, CamelMessageInfoBaseClass))
47 
48 G_BEGIN_DECLS
49 
50 typedef struct _CamelMessageInfoBase CamelMessageInfoBase;
51 typedef struct _CamelMessageInfoBaseClass CamelMessageInfoBaseClass;
52 typedef struct _CamelMessageInfoBasePrivate CamelMessageInfoBasePrivate;
53 
54 struct _CamelMessageInfoBase {
55 	CamelMessageInfo parent;
56 	CamelMessageInfoBasePrivate *priv;
57 };
58 
59 struct _CamelMessageInfoBaseClass {
60 	CamelMessageInfoClass parent_class;
61 
62 	/* Padding for future expansion */
63 	gpointer reserved[20];
64 };
65 
66 GType		camel_message_info_base_get_type	(void);
67 
68 G_END_DECLS
69 
70 #endif /* CAMEL_MESSAGE_INFO_BASE_H */
71