diff options
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index 5a6c660c5..d6e79f697 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -22,10 +22,8 @@ #include "ContentHandler.h" #include "FilePicker.h" -#include "FtpProtocolHandler.h" #include "GlobalHistory.h" -#include "IRCProtocolHandler.h" -#include "MailtoProtocolHandler.h" +#include "ExternalProtocolHandlers.h" #include "PrintingPromptService.h" #include "ProgressListener.h" #include "ExternalProtocolService.h" @@ -46,6 +44,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MozGlobalHistory) NS_GENERIC_FACTORY_CONSTRUCTOR(GPrintingPromptService) NS_GENERIC_FACTORY_CONSTRUCTOR(GIRCProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(GFtpProtocolHandler) +NS_GENERIC_FACTORY_CONSTRUCTOR(GNewsProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(GExternalProtocolService) static const nsModuleComponentInfo sAppComps[] = { @@ -104,6 +103,18 @@ static const nsModuleComponentInfo sAppComps[] = { GIRCProtocolHandlerConstructor }, { + G_NEWS_PROTOCOL_CLASSNAME, + G_NEWS_PROTOCOL_CID, + G_NEWS_PROTOCOL_CONTRACTID, + GNewsProtocolHandlerConstructor + }, + { + G_NEWS_CONTENT_CLASSNAME, + G_NEWS_PROTOCOL_CID, + G_NEWS_CONTENT_CONTRACTID, + GNewsProtocolHandlerConstructor + }, + { G_FTP_CONTENT_CLASSNAME, G_FTP_PROTOCOL_CID, G_FTP_CONTENT_CONTRACTID, |