From b244606069831e01fd4759c4d2e2817ccdc413d4 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Thu, 4 Jan 2007 03:22:46 +0000 Subject: [PATCH] Bug #360702 --> Look for ISP RDf files in extension directories that contain "isp" sub directories. This should make it easy for extension to make account setup easy for ISPs. sr=bienvenu git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217708 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/build/nsMailModule.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/mailnews/build/nsMailModule.cpp b/mozilla/mailnews/build/nsMailModule.cpp index 5c71da413e2..57a5861666e 100644 --- a/mozilla/mailnews/build/nsMailModule.cpp +++ b/mozilla/mailnews/build/nsMailModule.cpp @@ -105,6 +105,7 @@ #include "nsRssIncomingServer.h" #include "nsRssService.h" #include "nsMsgTagService.h" +#include "nsMailDirProvider.h" #ifdef XP_WIN #include "nsMessengerWinIntegration.h" @@ -335,6 +336,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgProgress) NS_GENERIC_FACTORY_CONSTRUCTOR(nsSpamSettings) NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgTagService) NS_GENERIC_FACTORY_CONSTRUCTOR(nsCidProtocolHandler) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsMailDirProvider) #ifdef XP_WIN NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMessengerWinIntegration, Init) #endif @@ -839,6 +841,14 @@ static const nsModuleComponentInfo gComponents[] = { NS_CIDPROTOCOLHANDLER_CONTRACTID, nsCidProtocolHandlerConstructor, }, + { + "mail director provider", + MAILDIRPROVIDER_CID, + NS_MAILDIRPROVIDER_CONTRACTID, + nsMailDirProviderConstructor, + nsMailDirProvider::Register, + nsMailDirProvider::Unregister + }, #ifdef XP_WIN { "Windows OS Integration", NS_MESSENGERWININTEGRATION_CID, NS_MESSENGEROSINTEGRATION_CONTRACTID,