diff options
Diffstat (limited to 'embed/mozilla/FtpProtocolHandler.h')
-rw-r--r-- | embed/mozilla/FtpProtocolHandler.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/embed/mozilla/FtpProtocolHandler.h b/embed/mozilla/FtpProtocolHandler.h index d031cd17b..d9b7c6c1b 100644 --- a/embed/mozilla/FtpProtocolHandler.h +++ b/embed/mozilla/FtpProtocolHandler.h @@ -22,6 +22,7 @@ #include "nsError.h" #include "nsIProtocolHandler.h" #include "nsCURILoader.h" +#include "BaseProtocolContentHandler.h" #define G_FTP_PROTOCOL_CID \ { /* 5a48bdf4-a422-4eb4-b073-0fc3bee8e670 */ \ @@ -45,8 +46,14 @@ } #define NS_FTPPROTOCOLHANDLER_CLASSNAME "The FTP Protocol Handler" -class nsIFactory; - -extern nsresult NS_NewFtpHandlerFactory(nsIFactory** aFactory); +class GFtpProtocolHandler : public GBaseProtocolContentHandler +{ + public: + NS_DECL_ISUPPORTS + GFtpProtocolHandler() : GBaseProtocolContentHandler("ftp") + {NS_INIT_ISUPPORTS();}; + virtual ~GFtpProtocolHandler() {}; + /* additional members */ +}; #endif // __FtpProtocolHandler_h__ |