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

This commit is contained in:
bienvenu%nventure.com 2007-01-26 01:33:55 +00:00
Родитель 4ddcb161f4
Коммит fce9a311fd
2 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

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

Просмотреть файл

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