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-yahoo-summary.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-yahoo-summary.h')
-rw-r--r-- | modules/mail-config/e-mail-config-yahoo-summary.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/modules/mail-config/e-mail-config-yahoo-summary.h b/modules/mail-config/e-mail-config-yahoo-summary.h new file mode 100644 index 0000000000..33de592992 --- /dev/null +++ b/modules/mail-config/e-mail-config-yahoo-summary.h @@ -0,0 +1,68 @@ +/* + * e-mail-config-yahoo-summary.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_YAHOO_SUMMARY_H +#define E_MAIL_CONFIG_YAHOO_SUMMARY_H + +#include <libebackend/e-extension.h> + +/* Standard GObject macros */ +#define E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY \ + (e_mail_config_yahoo_summary_get_type ()) +#define E_MAIL_CONFIG_YAHOO_SUMMARY(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY, EMailConfigYahooSummary)) +#define E_MAIL_CONFIG_YAHOO_SUMMARY_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY, EMailConfigYahooSummaryClass)) +#define E_IS_MAIL_CONFIG_YAHOO_SUMMARY(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY)) +#define E_IS_MAIL_CONFIG_YAHOO_SUMMARY_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY)) +#define E_MAIL_CONFIG_YAHOO_SUMMARY_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_MAIL_CONFIG_YAHOO_SUMMARY, EMailConfigYahooSummaryClass)) + +G_BEGIN_DECLS + +typedef struct _EMailConfigYahooSummary EMailConfigYahooSummary; +typedef struct _EMailConfigYahooSummaryClass EMailConfigYahooSummaryClass; +typedef struct _EMailConfigYahooSummaryPrivate EMailConfigYahooSummaryPrivate; + +struct _EMailConfigYahooSummary { + EExtension parent; + EMailConfigYahooSummaryPrivate *priv; +}; + +struct _EMailConfigYahooSummaryClass { + EExtensionClass parent_class; +}; + +GType e_mail_config_yahoo_summary_get_type + (void) G_GNUC_CONST; +void e_mail_config_yahoo_summary_type_register + (GTypeModule *type_module); +gboolean e_mail_config_yahoo_summary_get_applicable + (EMailConfigYahooSummary *extension); + +G_END_DECLS + +#endif /* E_MAIL_CONFIG_YAHOO_SUMMARY_H */ + |