From 919474fe4dc46d57b720e0f487199f942dc67884 Mon Sep 17 00:00:00 2001 From: "davidm%netscape.com" Date: Wed, 5 Apr 2000 03:01:51 +0000 Subject: [PATCH] 31054 TEXT' file which contains non ASCII does not open correctly --- netwerk/mime/src/nsMIMEServiceModule.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/netwerk/mime/src/nsMIMEServiceModule.cpp b/netwerk/mime/src/nsMIMEServiceModule.cpp index d8a84c500de4..91d3da8443f3 100644 --- a/netwerk/mime/src/nsMIMEServiceModule.cpp +++ b/netwerk/mime/src/nsMIMEServiceModule.cpp @@ -22,13 +22,26 @@ #include "nsIGenericFactory.h" #include "nsMIMEService.h" +#include "nsXMLMIMEDataSource.h" +#include "nsMIMEInfoImpl.h" +NS_GENERIC_FACTORY_CONSTRUCTOR(nsMIMEInfoImpl); static nsModuleComponentInfo gResComponents[] = { { "The MIME mapping service", NS_MIMESERVICE_CID, "component:||netscape|mime", nsMIMEService::Create - } + }, + { "xml mime datasource", + NS_XMLMIMEDATASOURCE_CID, + NS_XMLMIMEDATASOURCE_PROGID, + nsXMLMIMEDataSource::Create + }, + { "xml mime INFO", + NS_MIMEINFO_CID, + NS_MIMEINFO_PROGID, + nsMIMEInfoImplConstructor + }, }; NS_IMPL_NSGETMODULE("nsMIMEService", gResComponents)