add new msg+folder notification service geared more to the needs of desktop search indexers, sr=mscott 290057

git-svn-id: svn://10.0.0.236/trunk@218946 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com
2007-01-26 01:33:55 +00:00
parent f109b36a81
commit d0f4dd20b1
2 changed files with 13 additions and 0 deletions

View File

@@ -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,

View File

@@ -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,