From 824dfce72819337e7dad44f9b9c999caadd0e9a2 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 12 Apr 2003 00:37:43 +0000 Subject: *** empty log message *** --- embed/mozilla/FtpProtocolHandler.cpp | 37 +----------------------------------- 1 file changed, 1 insertion(+), 36 deletions(-) (limited to 'embed/mozilla/FtpProtocolHandler.cpp') diff --git a/embed/mozilla/FtpProtocolHandler.cpp b/embed/mozilla/FtpProtocolHandler.cpp index a9b299095..267bf695b 100644 --- a/embed/mozilla/FtpProtocolHandler.cpp +++ b/embed/mozilla/FtpProtocolHandler.cpp @@ -16,43 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "nsIFactory.h" -#include "nsXPComFactory.h" - -#include "BaseProtocolContentHandler.h" - -class GFtpProtocolHandler : public GBaseProtocolContentHandler -{ - public: - NS_DECL_ISUPPORTS - GFtpProtocolHandler() : GBaseProtocolContentHandler("ftp") - {NS_INIT_ISUPPORTS();}; - virtual ~GFtpProtocolHandler() {}; - /* additional members */ -}; +#include "FtpProtocolHandler.h" /* Implementation file */ NS_IMPL_ISUPPORTS2 (GFtpProtocolHandler, nsIProtocolHandler, nsIContentHandler) -NS_DEF_FACTORY (GFtpProtocolHandler, GFtpProtocolHandler); - -/** - * NS_NewFtpHandlerFactory: - */ -nsresult NS_NewFtpHandlerFactory(nsIFactory** aFactory) -{ - NS_ENSURE_ARG_POINTER(aFactory); - *aFactory = nsnull; - - nsGFtpProtocolHandlerFactory *result = - new nsGFtpProtocolHandlerFactory; - if (result == NULL) - { - return NS_ERROR_OUT_OF_MEMORY; - } - - NS_ADDREF(result); - *aFactory = result; - - return NS_OK; -} -- cgit v1.2.3