diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-02-17 23:47:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 11:00:42 +0800 |
commit | 48e680cdf39ab5754b000229f8ded1a8eeebf437 (patch) | |
tree | 063b7412f13d2248612b1872a0cf4ffbc119631f /modules/mail-config/evolution-mail-config.c | |
parent | 209e47b133349dc29c3eb68b9d4b5ac3465e0a0d (diff) | |
download | gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar.gz gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar.bz2 gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar.lz gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar.xz gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.tar.zst gsoc2013-evolution-48e680cdf39ab5754b000229f8ded1a8eeebf437.zip |
Add 'mail-config' module.
This breaks a good chunk of logic out of EMAccountEditor and hopefully
makes it less brittle. Because honestly, every time I fix one thing in
EMAccountEditor it breaks three other things. It's unmaintainable.
Diffstat (limited to 'modules/mail-config/evolution-mail-config.c')
-rw-r--r-- | modules/mail-config/evolution-mail-config.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/modules/mail-config/evolution-mail-config.c b/modules/mail-config/evolution-mail-config.c new file mode 100644 index 0000000000..bfcdea521f --- /dev/null +++ b/modules/mail-config/evolution-mail-config.c @@ -0,0 +1,51 @@ +/* + * evolution-mail-config.c + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with the program; if not, see <http://www.gnu.org/licenses/> + * + */ + +#include <gmodule.h> +#include <glib-object.h> + +#include "e-mail-config-sendmail-backend.h" +#include "e-mail-config-smtp-backend.h" + +#include "e-mail-config-google-summary.h" +#include "e-mail-config-yahoo-summary.h" + +/* Module Entry Points */ +void e_module_load (GTypeModule *type_module); +void e_module_unload (GTypeModule *type_module); + +void e_mail_config_local_accounts_register_types (GTypeModule *type_module); +void e_mail_config_remote_accounts_register_types (GTypeModule *type_module); +void e_mail_config_transports_register_types (GTypeModule *type_module); + +G_MODULE_EXPORT void +e_module_load (GTypeModule *type_module) +{ + e_mail_config_local_accounts_register_types (type_module); + e_mail_config_remote_accounts_register_types (type_module); + e_mail_config_sendmail_backend_type_register (type_module); + e_mail_config_smtp_backend_type_register (type_module); + + e_mail_config_google_summary_type_register (type_module); + e_mail_config_yahoo_summary_type_register (type_module); +} + +G_MODULE_EXPORT void +e_module_unload (GTypeModule *type_module) +{ +} |