Debian Codegraph @

src/Microsoft365/registry/e-m365-backend-factory.h

raw
1 /*
2 * SPDX-FileCopyrightText: (C) 2020 Red Hat (www.redhat.com)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6 #ifndef E_M365_BACKEND_FACTORY_H
7 #define E_M365_BACKEND_FACTORY_H
8
9 #include <libebackend/libebackend.h>
10
11 /* Standard GObject macros */
12 #define E_TYPE_M365_BACKEND_FACTORY \
13 (e_m365_backend_factory_get_type ())
14 #define E_M365_BACKEND_FACTORY(obj) \
15 (G_TYPE_CHECK_INSTANCE_CAST \
16 ((obj), E_TYPE_M365_BACKEND_FACTORY, EM365BackendFactory))
17 #define E_M365_BACKEND_FACTORY_CLASS(cls) \
18 (G_TYPE_CHECK_CLASS_CAST \
19 ((cls), E_TYPE_M365_BACKEND_FACTORY, EM365BackendFactoryClass))
20 #define E_IS_M365_BACKEND_FACTORY(obj) \
21 (G_TYPE_CHECK_INSTANCE_TYPE \
22 ((obj), E_TYPE_M365_BACKEND_FACTORY))
23 #define E_IS_M365_BACKEND_FACTORY_CLASS(cls) \
24 (G_TYPE_CHECK_CLASS_TYPE \
25 ((cls), E_TYPE_M365_BACKEND_FACTORY))
26 #define E_M365_BACKEND_FACTORY_GET_CLASS(obj) \
27 (G_TYPE_INSTANCE_GET_CLASS \
28 ((obj), E_TYPE_M365_BACKEND_FACTORY, EM365BackendFactoryClass))
29
30 G_BEGIN_DECLS
31
32 typedef struct _EM365BackendFactory EM365BackendFactory;
33 typedef struct _EM365BackendFactoryClass EM365BackendFactoryClass;
34 typedef struct _EM365BackendFactoryPrivate EM365BackendFactoryPrivate;
35
36 struct _EM365BackendFactory {
37 ECollectionBackendFactory parent;
38 EM365BackendFactoryPrivate *priv;
39 };
40
41 struct _EM365BackendFactoryClass {
42 ECollectionBackendFactoryClass parent_class;
43 };
44
45 GType e_m365_backend_factory_get_type (void) G_GNUC_CONST;
46 void e_m365_backend_factory_type_register
47 (GTypeModule *type_module);
48
49 G_END_DECLS
50
51 #endif /* E_M365_BACKEND_FACTORY_H */