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/FtpProtocolHandler.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/FtpProtocolHandler.cpp')
-rw-r--r-- | embed/mozilla/FtpProtocolHandler.cpp | 37 |
1 files changed, 1 insertions, 36 deletions
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; -} |