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/e-mail-config-sendmail-backend.h | |
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/e-mail-config-sendmail-backend.h')
-rw-r--r-- | modules/mail-config/e-mail-config-sendmail-backend.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/modules/mail-config/e-mail-config-sendmail-backend.h b/modules/mail-config/e-mail-config-sendmail-backend.h new file mode 100644 index 0000000000..585b407fea --- /dev/null +++ b/modules/mail-config/e-mail-config-sendmail-backend.h @@ -0,0 +1,66 @@ +/* + * e-mail-config-sendmail-backend.h + * + * 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/> + * + */ + +#ifndef E_MAIL_CONFIG_SENDMAIL_BACKEND_H +#define E_MAIL_CONFIG_SENDMAIL_BACKEND_H + +#include <mail/e-mail-config-service-backend.h> + +/* Standard GObject macros */ +#define E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND \ + (e_mail_config_sendmail_backend_get_type ()) +#define E_MAIL_CONFIG_SENDMAIL_BACKEND(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND, EMailConfigSendmailBackend)) +#define E_MAIL_CONFIG_SENDMAIL_BACKEND_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND, EMailConfigSendmailBackendClass)) +#define E_IS_MAIL_CONFIG_SENDMAIL_BACKEND(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND)) +#define E_IS_MAIL_CONFIG_SENDMAIL_BACKEND_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND)) +#define E_MAIL_CONFIG_SENDMAIL_BACKEND_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_MAIL_CONFIG_SENDMAIL_BACKEND, EMailConfigSendmailBackendClass)) + +G_BEGIN_DECLS + +typedef struct _EMailConfigSendmailBackend EMailConfigSendmailBackend; +typedef struct _EMailConfigSendmailBackendClass EMailConfigSendmailBackendClass; +typedef struct _EMailConfigSendmailBackendPrivate EMailConfigSendmailBackendPrivate; + +struct _EMailConfigSendmailBackend { + EMailConfigServiceBackend parent; + EMailConfigSendmailBackendPrivate *priv; +}; + +struct _EMailConfigSendmailBackendClass { + EMailConfigServiceBackendClass parent_class; +}; + +GType e_mail_config_sendmail_backend_get_type + (void) G_GNUC_CONST; +void e_mail_config_sendmail_backend_type_register + (GTypeModule *type_module); + +G_END_DECLS + +#endif /* E_MAIL_CONFIG_SENDMAIL_BACKEND_H */ + |