diff --git a/mailnews/base/build/nsMsgFactory.cpp b/mailnews/base/build/nsMsgFactory.cpp index 32630f24c10..a3391e9ff1f 100644 --- a/mailnews/base/build/nsMsgFactory.cpp +++ b/mailnews/base/build/nsMsgFactory.cpp @@ -109,6 +109,7 @@ #include "nsMsgContentPolicy.h" #include "nsCidProtocolHandler.h" #include "nsMsgTagService.h" +#include "nsMsgFolderNotificationService.h" #ifdef XP_WIN #include "nsMessengerWinIntegration.h" @@ -173,6 +174,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgProgress) NS_GENERIC_FACTORY_CONSTRUCTOR(nsSpamSettings) NS_GENERIC_FACTORY_CONSTRUCTOR(nsCidProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgTagService) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgFolderNotificationService) #ifdef XP_WIN NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMessengerWinIntegration, Init) #endif @@ -427,6 +429,10 @@ static const nsModuleComponentInfo gComponents[] = { NS_MSGTAGSERVICE_CONTRACTID, nsMsgTagServiceConstructor, }, + { "Msg Notification Service", NS_MSGNOTIFICATIONSERVICE_CID, + NS_MSGNOTIFICATIONSERVICE_CONTRACTID, + nsMsgFolderNotificationServiceConstructor, + }, #ifdef XP_WIN { "Windows OS Integration", NS_MESSENGERWININTEGRATION_CID, NS_MESSENGEROSINTEGRATION_CONTRACTID, diff --git a/mailnews/build/nsMailModule.cpp b/mailnews/build/nsMailModule.cpp index a18beb3272b..00963ffe052 100644 --- a/mailnews/build/nsMailModule.cpp +++ b/mailnews/build/nsMailModule.cpp @@ -104,6 +104,7 @@ #include "nsRssIncomingServer.h" #include "nsRssService.h" #include "nsMsgTagService.h" +#include "nsMsgFolderNotificationService.h" #include "nsMailDirProvider.h" #ifdef XP_WIN @@ -338,6 +339,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgOfflineManager) NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgProgress) NS_GENERIC_FACTORY_CONSTRUCTOR(nsSpamSettings) NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgTagService) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgFolderNotificationService) NS_GENERIC_FACTORY_CONSTRUCTOR(nsCidProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(nsMailDirProvider) #ifdef XP_WIN @@ -843,6 +845,11 @@ static const nsModuleComponentInfo gComponents[] = { NS_MSGTAGSERVICE_CONTRACTID, nsMsgTagServiceConstructor, }, + { "Msg Notification Service", NS_MSGNOTIFICATIONSERVICE_CID, + NS_MSGNOTIFICATIONSERVICE_CONTRACTID, + nsMsgFolderNotificationServiceConstructor, + }, + { "cid protocol", NS_CIDPROTOCOL_CID, NS_CIDPROTOCOLHANDLER_CONTRACTID, nsCidProtocolHandlerConstructor,