Debian Codegraph @

src/Microsoft365/registry/e-m365-backend.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_H
7 #define E_M365_BACKEND_H
8
9 #include <libebackend/libebackend.h>
10
11 /* Standard GObject macros */
12 #define E_TYPE_M365_BACKEND \
13 (e_m365_backend_get_type ())
14 #define E_M365_BACKEND(obj) \
15 (G_TYPE_CHECK_INSTANCE_CAST \
16 ((obj), E_TYPE_M365_BACKEND, EM365Backend))
17 #define E_M365_BACKEND_CLASS(cls) \
18 (G_TYPE_CHECK_CLASS_CAST \
19 ((cls), E_TYPE_M365_BACKEND, EM365BackendClass))
20 #define E_IS_M365_BACKEND(obj) \
21 (G_TYPE_CHECK_INSTANCE_TYPE \
22 ((obj), E_TYPE_M365_BACKEND))
23 #define E_IS_M365_BACKEND_CLASS(cls) \
24 (G_TYPE_CHECK_CLASS_TYPE \
25 ((cls), E_TYPE_M365_BACKEND))
26 #define E_M365_BACKEND_GET_CLASS(obj) \
27 (G_TYPE_INSTANCE_GET_CLASS \
28 ((obj), E_TYPE_M365_BACKEND, EM365BackendClass))
29
30 G_BEGIN_DECLS
31
32 typedef struct _EM365Backend EM365Backend;
33 typedef struct _EM365BackendClass EM365BackendClass;
34 typedef struct _EM365BackendPrivate EM365BackendPrivate;
35
36 struct _EM365Backend {
37 ECollectionBackend parent;
38 EM365BackendPrivate *priv;
39 };
40
41 struct _EM365BackendClass {
42 ECollectionBackendClass parent_class;
43 };
44
45 GType e_m365_backend_get_type (void) G_GNUC_CONST;
46 void e_m365_backend_type_register (GTypeModule *type_module);
47
48 G_END_DECLS
49
50 #endif /* E_M365_BACKEND_H */