зеркало из https://github.com/mozilla/pjs.git
added nsMsgCopyService to the factory
This commit is contained in:
Родитель
c881390b63
Коммит
becaa4288d
|
@ -98,4 +98,9 @@
|
|||
{ 0x7741daed, 0x2125, 0x11d3, \
|
||||
{ 0x8a, 0x90, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2 } }
|
||||
|
||||
/* c766e666-29bd-11d3-afb3-001083002da8 */
|
||||
#define NS_MSGCOPYSERVICE_CID \
|
||||
{ 0xc766e666, 0x29bd, 0x11d3, \
|
||||
{ 0xaf, 0xb3, 0x00, 0x10, 0x83, 0x00, 0x2d, 0xa8 } }
|
||||
|
||||
#endif // nsMessageBaseCID_h__
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
#include "nsMsgNotificationManager.h"
|
||||
|
||||
#include "nsCopyMessageStreamListener.h"
|
||||
#include "nsMsgCopyService.h"
|
||||
|
||||
#ifdef DEBUG_bienvenu
|
||||
#include "nsMsgFilterService.h"
|
||||
|
@ -94,7 +95,9 @@ static NS_DEFINE_CID(kMsgBiffManagerCID, NS_MSGBIFFMANAGER_CID);
|
|||
static NS_DEFINE_CID(kMsgNotificationManagerCID, NS_MSGNOTIFICATIONMANAGER_CID);
|
||||
|
||||
// Copy
|
||||
static NS_DEFINE_CID(kCopyMessageStreamListenerCID, NS_COPYMESSAGESTREAMLISTENER_CID);
|
||||
static NS_DEFINE_CID(kCopyMessageStreamListenerCID,
|
||||
NS_COPYMESSAGESTREAMLISTENER_CID);
|
||||
static NS_DEFINE_CID(kMsgCopyServiceCID, NS_MSGCOPYSERVICE_CID);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -303,6 +306,9 @@ nsMsgFactory::CreateInstance(nsISupports * /* aOuter */,
|
|||
else if (mClassID.Equals(kCopyMessageStreamListenerCID)){
|
||||
rv = NS_NewCopyMessageStreamListener(aIID, aResult);
|
||||
}
|
||||
else if (mClassID.Equals(kMsgCopyServiceCID)) {
|
||||
rv = NS_NewMsgCopyService(aIID, aResult);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче