From 6397780dbc8bdbfbbea7fddc0c2ddae9657e776e Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Thu, 9 Oct 2003 22:22:00 +0000 Subject: [PATCH] Port the vcard UI to thunderbird. Bug #221319 git-svn-id: svn://10.0.0.236/trunk@147818 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/build/nsMailModule.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mozilla/mailnews/build/nsMailModule.cpp b/mozilla/mailnews/build/nsMailModule.cpp index 64fff3ec1a6..e8f6e8de2c8 100644 --- a/mozilla/mailnews/build/nsMailModule.cpp +++ b/mozilla/mailnews/build/nsMailModule.cpp @@ -139,7 +139,8 @@ #include "nsAbDirectoryQuery.h" #include "nsAbBooleanExpression.h" #include "nsAbDirectoryQueryProxy.h" -#include "nsAbView.h" +#include "nsAbView.h" +#include "nsMsgVCardService.h" #if defined(MOZ_LDAP_XPCOM) #include "nsAbLDAPDirectory.h" @@ -372,7 +373,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbLDAPProcessChangeLogData) #endif NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbDirectoryQueryProxy) -NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbView) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbView) +NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgVCardService) //////////////////////////////////////////////////////////////////////////////// // bayesian spam filter factories @@ -801,7 +803,9 @@ static const nsModuleComponentInfo gComponents[] = { { "The addbook URL Interface", NS_ADDBOOKURL_CID, NS_ADDBOOKURL_CONTRACTID, nsAddbookUrlConstructor }, { "The addbook Protocol Handler", NS_ADDBOOK_HANDLER_CID, - NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "addbook", nsAddbookProtocolHandlerConstructor }, + NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "addbook", nsAddbookProtocolHandlerConstructor }, + { "add vCard content handler", NS_ADDRESSBOOK_CID, NS_CONTENT_HANDLER_CONTRACTID_PREFIX"x-application-addvcard", nsAddressBookConstructor }, + { "The directory factory service interface", NS_ABDIRFACTORYSERVICE_CID, NS_ABDIRFACTORYSERVICE_CONTRACTID, nsAbDirFactoryServiceConstructor }, { "The MDB directory factory interface", NS_ABMDBDIRFACTORY_CID, @@ -846,7 +850,8 @@ static const nsModuleComponentInfo gComponents[] = { #endif { "The directory query proxy interface", NS_ABDIRECTORYQUERYPROXY_CID, NS_ABDIRECTORYQUERYPROXY_CONTRACTID, nsAbDirectoryQueryProxyConstructor}, - { "addressbook view", NS_ABVIEW_CID, NS_ABVIEW_CONTRACTID, nsAbViewConstructor}, + { "addressbook view", NS_ABVIEW_CID, NS_ABVIEW_CONTRACTID, nsAbViewConstructor}, + { "vcard helper service", NS_MSGVCARDSERVICE_CID, NS_MSGVCARDSERVICE_CONTRACTID, nsMsgVCardServiceConstructor }, //////////////////////////////////////////////////////////////////////////////// // bayesian spam filter components