diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
commit | 824dfce72819337e7dad44f9b9c999caadd0e9a2 (patch) | |
tree | 5080b21ccbdf078fcd95eb2842e55ffd265aead6 /embed/mozilla/MailtoProtocolHandler.cpp | |
parent | 3a57d18b63e6cde5a2a3bed06834020794c0ebd9 (diff) | |
download | gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.gz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.bz2 gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.lz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.xz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.zst gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.zip |
*** empty log message ***
Diffstat (limited to 'embed/mozilla/MailtoProtocolHandler.cpp')
-rw-r--r-- | embed/mozilla/MailtoProtocolHandler.cpp | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/embed/mozilla/MailtoProtocolHandler.cpp b/embed/mozilla/MailtoProtocolHandler.cpp index 946f14aff..42ab590ac 100644 --- a/embed/mozilla/MailtoProtocolHandler.cpp +++ b/embed/mozilla/MailtoProtocolHandler.cpp @@ -16,49 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "nsIFactory.h" -#include "nsXPComFactory.h" -#include "nsString.h" -#include "nsIURI.h" -#include "nsNetUtil.h" -#include "nsIExternalProtocolService.h" -#include "nsCExternalHandlerService.h" -#include "nsCRT.h" - -#include "BaseProtocolContentHandler.h" - -class GMailtoProtocolHandler : public GBaseProtocolContentHandler -{ - public: - NS_DECL_ISUPPORTS - GMailtoProtocolHandler() : GBaseProtocolContentHandler("mailto") - {NS_INIT_ISUPPORTS();}; - virtual ~GMailtoProtocolHandler() {}; - private: -}; +#include "MailtoProtocolHandler.h" /* Implementation file */ NS_IMPL_ISUPPORTS2 (GMailtoProtocolHandler, nsIProtocolHandler, nsIContentHandler) -NS_DEF_FACTORY (GMailtoProtocolHandler, GMailtoProtocolHandler); - -/** - * NS_NewMailtoHandlerFactory: - */ -nsresult NS_NewMailtoHandlerFactory(nsIFactory** aFactory) -{ - NS_ENSURE_ARG_POINTER(aFactory); - *aFactory = nsnull; - - nsGMailtoProtocolHandlerFactory *result = - new nsGMailtoProtocolHandlerFactory; - if (result == NULL) - { - return NS_ERROR_OUT_OF_MEMORY; - } - - NS_ADDREF(result); - *aFactory = result; - - return NS_OK; -} |