aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail-config/e-mail-config-smtp-backend.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-02-17 23:47:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-03 11:00:42 +0800
commit48e680cdf39ab5754b000229f8ded1a8eeebf437 (patch)
tree063b7412f13d2248612b1872a0cf4ffbc119631f /modules/mail-config/e-mail-config-smtp-backend.h
parent209e47b133349dc29c3eb68b9d4b5ac3465e0a0d (diff)
downloadgsoc2013-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-smtp-backend.h')
-rw-r--r--modules/mail-config/e-mail-config-smtp-backend.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/modules/mail-config/e-mail-config-smtp-backend.h b/modules/mail-config/e-mail-config-smtp-backend.h
new file mode 100644
index 0000000000..338356cb55
--- /dev/null
+++ b/modules/mail-config/e-mail-config-smtp-backend.h
@@ -0,0 +1,66 @@
+/*
+ * e-mail-config-smtp-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_SMTP_BACKEND_H
+#define E_MAIL_CONFIG_SMTP_BACKEND_H
+
+#include <mail/e-mail-config-service-backend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_MAIL_CONFIG_SMTP_BACKEND \
+ (e_mail_config_smtp_backend_get_type ())
+#define E_MAIL_CONFIG_SMTP_BACKEND(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_MAIL_CONFIG_SMTP_BACKEND, EMailConfigSmtpBackend))
+#define E_MAIL_CONFIG_SMTP_BACKEND_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_MAIL_CONFIG_SMTP_BACKEND, EMailConfigSmtpBackendClass))
+#define E_IS_MAIL_CONFIG_SMTP_BACKEND(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_MAIL_CONFIG_SMTP_BACKEND))
+#define E_IS_MAIL_CONFIG_SMTP_BACKEND_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_MAIL_CONFIG_SMTP_BACKEND))
+#define E_MAIL_CONFIG_SMTP_BACKEND_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_MAIL_CONFIG_SMTP_BACKEND, EMailConfigSmtpBackendClass))
+
+G_BEGIN_DECLS
+
+typedef struct _EMailConfigSmtpBackend EMailConfigSmtpBackend;
+typedef struct _EMailConfigSmtpBackendClass EMailConfigSmtpBackendClass;
+typedef struct _EMailConfigSmtpBackendPrivate EMailConfigSmtpBackendPrivate;
+
+struct _EMailConfigSmtpBackend {
+ EMailConfigServiceBackend parent;
+ EMailConfigSmtpBackendPrivate *priv;
+};
+
+struct _EMailConfigSmtpBackendClass {
+ EMailConfigServiceBackendClass parent_class;
+};
+
+GType e_mail_config_smtp_backend_get_type
+ (void) G_GNUC_CONST;
+void e_mail_config_smtp_backend_type_register
+ (GTypeModule *type_module);
+
+G_END_DECLS
+
+#endif /* E_MAIL_CONFIG_SMTP_BACKEND_H */
+