aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-extension.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-07 05:40:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-08 03:01:05 +0800
commit54455ca1ad6cae527544fed12d0de4ae95341082 (patch)
treeb223d428459e3be79d1162d8217be6c2856f643b /em-format/e-mail-extension.c
parent9d34f72ec1b99d58ee1c3a6d1a964a6dde166f79 (diff)
downloadgsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar.gz
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar.bz2
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar.lz
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar.xz
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.tar.zst
gsoc2013-evolution-54455ca1ad6cae527544fed12d0de4ae95341082.zip
Remove EMailExtension.
EMailExtension is now too trivial to keep as a standalone interface. Add a 'mime_types' string array to the EMailFormatterExtension and EMailFormatterParser interface structs. Alter e_mail_extension_registry_add_extension() to take a 'mime_types' string array and the GType of an extension to instantiate, rather than the extension instance directly. e_mail_extension_registry_remove_extension() is no longer needed.
Diffstat (limited to 'em-format/e-mail-extension.c')
-rw-r--r--em-format/e-mail-extension.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/em-format/e-mail-extension.c b/em-format/e-mail-extension.c
deleted file mode 100644
index ee319773c1..0000000000
--- a/em-format/e-mail-extension.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * e-mail-extension.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 "e-mail-extension.h"
-
-#include <glib-object.h>
-
-G_DEFINE_INTERFACE (EMailExtension, e_mail_extension, G_TYPE_OBJECT)
-
-static void
-e_mail_extension_default_init (EMailExtensionInterface *iface)
-{
-
-}
-
-/**
- * EMailExtension:
- *
- * The #EMailExtension is an abstract interface for all extensions for
- * #EMailParser and #EmailFormatter.
- *
- * The interface is further extended by #EMailParserExtension and
- * #EMailFormatterExtension interfaces which define final API for both types
- * of extensions.
- */
-