| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: (C) 2020 Red Hat (www.redhat.com) |
| 3 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#include "evolution-ews-config.h" |
| 7 |
|
| 8 |
#include <glib/gi18n-lib.h> |
| 9 |
|
| 10 |
#include "common/camel-sasl-xoauth2-microsoft365.h" |
| 11 |
#include "common/e-oauth2-service-microsoft365.h" |
| 12 |
#include "common/e-source-m365-folder.h" |
| 13 |
|
| 14 |
#include "e-cal-config-m365.h" |
| 15 |
#include "e-book-config-m365.h" |
| 16 |
#include "e-m365-comp-editor-extension.h" |
| 17 |
#include "e-m365-config-ui-extension.h" |
| 18 |
#include "e-mail-config-m365-backend.h" |
| 19 |
|
| 20 |
/* Module Entry Points */ |
| 21 |
void e_module_load (GTypeModule *type_module); |
| 22 |
void e_module_unload (GTypeModule *type_module); |
| 23 |
|
| 24 |
G_MODULE_EXPORT void |
| 25 |
e_module_load (GTypeModule *type_module) |
| 26 |
{ |
| 27 |
bindtextdomain (GETTEXT_PACKAGE, M365_LOCALEDIR); |
| 28 |
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); |
| 29 |
|
| 30 |
camel_sasl_xoauth2_microsoft365_type_register (type_module); |
| 31 |
e_oauth2_service_microsoft365_type_register (type_module); |
| 32 |
e_source_m365_folder_type_register (type_module); |
| 33 |
|
| 34 |
e_cal_config_m365_type_register (type_module); |
| 35 |
e_book_config_m365_type_register (type_module); |
| 36 |
e_m365_config_ui_extension_type_register (type_module); |
| 37 |
e_m365_comp_editor_extension_type_register (type_module); |
| 38 |
e_mail_config_m365_backend_type_register (type_module); |
| 39 |
} |
| 40 |
|
| 41 |
G_MODULE_EXPORT void |
| 42 |
e_module_unload (GTypeModule *type_module) |
| 43 |
{ |
| 44 |
} |