зеркало из https://github.com/mozilla/gecko-dev.git
Part of Bug #179533 --> need to move mail CID files from the build directory to the src directory.
This will make aggregating mail dlls easier. r/sr=sspitzer
This commit is contained in:
Родитель
92c01c2c18
Коммит
7bf4126720
|
@ -53,7 +53,6 @@ REQUIRES = xpcom \
|
|||
$(NULL)
|
||||
|
||||
CPPSRCS = nsAbFactory.cpp
|
||||
EXPORTS = nsAbBaseCID.h
|
||||
|
||||
ifdef MOZ_LDAP_XPCOM
|
||||
REQUIRES += mozldap \
|
||||
|
|
|
@ -85,6 +85,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsAbBaseCID.h \
|
||||
nsAddressBook.h \
|
||||
nsAddrBookSession.h \
|
||||
nsAbRDFDataSource.h \
|
||||
|
|
|
@ -0,0 +1,447 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsAbBaseCID_h__
|
||||
#define nsAbBaseCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsAbDirFactoryService.h"
|
||||
|
||||
//
|
||||
// nsAddressBook
|
||||
//
|
||||
#define NS_ADDRESSBOOK_CONTRACTID \
|
||||
"@mozilla.org/addressbook;1"
|
||||
|
||||
#define NS_ADDRESSBOOKSTARTUPHANDLER_CONTRACTID \
|
||||
"@mozilla.org/commandlinehandler/general-startup;1?type=addressbook"
|
||||
|
||||
#define NS_ADDRESSBOOK_CID \
|
||||
{ /* {D60B84F2-2A8C-11d3-9E07-00A0C92B5F0D} */ \
|
||||
0xd60b84f2, 0x2a8c, 0x11d3, \
|
||||
{ 0x9e, 0x7, 0x0, 0xa0, 0xc9, 0x2b, 0x5f, 0xd } \
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// nsAbDirectoryDataSource
|
||||
//
|
||||
#define NS_ABDIRECTORYDATASOURCE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "addressdirectory"
|
||||
|
||||
#define NS_ABDIRECTORYDATASOURCE_CID \
|
||||
{ /* 0A79186D-F754-11d2-A2DA-001083003D0C */ \
|
||||
0xa79186d, 0xf754, 0x11d2, \
|
||||
{0xa2, 0xda, 0x0, 0x10, 0x83, 0x0, 0x3d, 0xc} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbBSDirectory
|
||||
//
|
||||
#define NS_ABDIRECTORY_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "moz-abdirectory"
|
||||
|
||||
#define NS_ABDIRECTORY_CID \
|
||||
{ /* {012D3C24-1DD2-11B2-BA79-B4AD359FC461}*/ \
|
||||
0x012D3C24, 0x1DD2, 0x11B2, \
|
||||
{0xBA, 0x79, 0xB4, 0xAD, 0x35, 0x9F, 0xC4, 0x61} \
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// nsAbMDBDirectory
|
||||
//
|
||||
#define NS_ABMDBDIRECTORY_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "moz-abmdbdirectory"
|
||||
|
||||
#define NS_ABMDBDIRECTORY_CID \
|
||||
{ /* {e618f894-1dd1-11b2-889c-9aaefaa90dde}*/ \
|
||||
0xe618f894, 0x1dd1, 0x11b2, \
|
||||
{0x88, 0x9c, 0x9a, 0xae, 0xfa, 0xa9, 0x0d, 0xde} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbMDBCard
|
||||
//
|
||||
#define NS_ABMDBCARD_CONTRACTID \
|
||||
"@mozilla.org/addressbook/moz-abmdbcard;1"
|
||||
|
||||
#define NS_ABMDBCARD_CID \
|
||||
{ /* {f578a5d2-1dd1-11b2-8841-f45cc5e765f8} */ \
|
||||
0xf578a5d2, 0x1dd1, 0x11b2, \
|
||||
{0x88, 0x41, 0xf4, 0x5c, 0xc5, 0xe7, 0x65, 0xf8} \
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// nsAddressBookDB
|
||||
//
|
||||
#define NS_ADDRDATABASE_CONTRACTID \
|
||||
"@mozilla.org/addressbook/carddatabase;1"
|
||||
|
||||
#define NS_ADDRDATABASE_CID \
|
||||
{ /* 63187917-1D19-11d3-A302-001083003D0C */ \
|
||||
0x63187917, 0x1d19, 0x11d3, \
|
||||
{0xa3, 0x2, 0x0, 0x10, 0x83, 0x0, 0x3d, 0xc} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbCardProperty
|
||||
//
|
||||
#define NS_ABCARDPROPERTY_CONTRACTID \
|
||||
"@mozilla.org/addressbook/cardproperty;1"
|
||||
#define NS_ABCARDPROPERTY_CID \
|
||||
{ /* 2B722171-2CEA-11d3-9E0B-00A0C92B5F0D */ \
|
||||
0x2b722171, 0x2cea, 0x11d3, \
|
||||
{0x9e, 0xb, 0x0, 0xa0, 0xc9, 0x2b, 0x5f, 0xd} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAddrBookSession
|
||||
//
|
||||
#define NS_ADDRBOOKSESSION_CONTRACTID \
|
||||
"@mozilla.org/addressbook/services/session;1"
|
||||
|
||||
#define NS_ADDRBOOKSESSION_CID \
|
||||
{ /* C5339442-303F-11d3-9E13-00A0C92B5F0D */ \
|
||||
0xc5339442, 0x303f, 0x11d3, \
|
||||
{0x9e, 0x13, 0x0, 0xa0, 0xc9, 0x2b, 0x5f, 0xd} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbDirProperty
|
||||
//
|
||||
#define NS_ABDIRPROPERTY_CONTRACTID \
|
||||
"@mozilla.org/addressbook/directoryproperty;1"
|
||||
#define NS_ABDIRPROPERTY_CID \
|
||||
{ /* 6FD8EC67-3965-11d3-A316-001083003D0C */ \
|
||||
0x6fd8ec67, 0x3965, 0x11d3, \
|
||||
{0xa3, 0x16, 0x0, 0x10, 0x83, 0x0, 0x3d, 0xc} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbDirectoryProperties
|
||||
//
|
||||
#define NS_ABDIRECTORYPROPERTIES_CONTRACTID \
|
||||
"@mozilla.org/addressbook/properties;1"
|
||||
#define NS_ABDIRECTORYPROPERTIES_CID \
|
||||
{ /* 8b00a972-1dd2-11b2-9d9c-9c377a9c3dba */ \
|
||||
0x8b00a972, 0x1dd2, 0x11b2, \
|
||||
{0x9d, 0x9c, 0x9c, 0x37, 0x7a, 0x9c, 0x3d, 0xba} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbAutoCompleteSession
|
||||
//
|
||||
#define NS_ABAUTOCOMPLETESESSION_CONTRACTID \
|
||||
"@mozilla.org/autocompleteSession;1?type=addrbook"
|
||||
#define NS_ABAUTOCOMPLETESESSION_CID \
|
||||
{ /* 138DE9BD-362B-11d3-988E-001083010E9B */ \
|
||||
0x138de9bd, 0x362b, 0x11d3, \
|
||||
{0x98, 0x8e, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbAddressCollecter
|
||||
//
|
||||
#define NS_ABADDRESSCOLLECTER_CONTRACTID \
|
||||
"@mozilla.org/addressbook/services/addressCollecter;1"
|
||||
#define NS_ABADDRESSCOLLECTER_CID \
|
||||
{ /* fe04c8e6-501e-11d3-a527-0060b0fc04b7 */ \
|
||||
0xfe04c8e6, 0x501e, 0x11d3, \
|
||||
{0xa5, 0x27, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xb7} \
|
||||
}
|
||||
|
||||
#define NS_AB4xUPGRADER_CONTRACTID \
|
||||
"@mozilla.org/addressbook/services/4xUpgrader;1"
|
||||
#define NS_AB4xUPGRADER_CID \
|
||||
{ /* 0a6ae8e6-f550-11d3-a563-0060b0fc04b7 */ \
|
||||
0x0a6ae8e6, 0xf550, 0x11d3, \
|
||||
{0xa5, 0x63, 0x00, 0x60, 0xb0, 0xfc, 0x4, 0xb7} \
|
||||
}
|
||||
|
||||
//
|
||||
// addbook URL
|
||||
//
|
||||
#define NS_ADDBOOKURL_CONTRACTID \
|
||||
"@mozilla.org/addressbook/services/url;1?type=addbook"
|
||||
|
||||
#define NS_ADDBOOKURL_CID \
|
||||
{ /* ff04c8e6-501e-11d3-a527-0060b0fc0444 */ \
|
||||
0xff04c8e6, 0x501e, 0x11d3, \
|
||||
{0xa5, 0x27, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0x44} \
|
||||
}
|
||||
|
||||
//
|
||||
// addbook Protocol Handler
|
||||
//
|
||||
#define NS_ADDBOOK_HANDLER_CONTRACTID \
|
||||
"@mozilla.org/addressbook/services/addbook;1"
|
||||
#define NS_ADDBOOK_HANDLER_CID \
|
||||
{ /* ff04c8e6-501e-11d3-ffcc-0060b0fc0444 */ \
|
||||
0xff04c8e6, 0x501e, 0x11d3, \
|
||||
{0xff, 0xcc, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0x44} \
|
||||
}
|
||||
|
||||
//
|
||||
// directory factory service
|
||||
//
|
||||
#define NS_ABDIRFACTORYSERVICE_CONTRACTID \
|
||||
"@mozilla.org/addressbook/directory-factory-service;1"
|
||||
|
||||
#define NS_ABDIRFACTORYSERVICE_CID \
|
||||
{ /* {F8B212F2-742B-4A48-B7A0-4C44D4DDB121}*/ \
|
||||
0xF8B212F2, 0x742B, 0x4A48, \
|
||||
{0xB7, 0xA0, 0x4C, 0x44, 0xD4, 0xDD, 0xB1, 0x21} \
|
||||
}
|
||||
|
||||
//
|
||||
// mdb directory factory
|
||||
//
|
||||
#define NS_ABMDBDIRFACTORY_CONTRACTID \
|
||||
NS_AB_DIRECTORY_FACTORY_CONTRACTID_PREFIX "moz-abmdbdirectory"
|
||||
|
||||
#define NS_ABMDBDIRFACTORY_CID \
|
||||
{ /* {E1CB9C8A-722D-43E4-9D7B-7CCAE4B0338A}*/ \
|
||||
0xE1CB9C8A, 0x722D, 0x43E4, \
|
||||
{0x9D, 0x7B, 0x7C, 0xCA, 0xE4, 0xB0, 0x33, 0x8A} \
|
||||
}
|
||||
|
||||
#ifdef XP_WIN
|
||||
//
|
||||
// nsAbOutlookDirectory
|
||||
//
|
||||
#define NS_ABOUTLOOKDIRECTORY_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "moz-aboutlookdirectory"
|
||||
|
||||
#define NS_ABOUTLOOKDIRECTORY_CID \
|
||||
{ /* {9cc57822-0599-4c47-a399-1c6fa185a05c}*/ \
|
||||
0x9cc57822, 0x0599, 0x4c47, \
|
||||
{0xa3, 0x99, 0x1c, 0x6f, 0xa1, 0x85, 0xa0, 0x5c} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbOutlookCard
|
||||
//
|
||||
#define NS_ABOUTLOOKCARD_CONTRACTID \
|
||||
"@mozilla.org/addressbook/moz-aboutlookcard"
|
||||
|
||||
#define NS_ABOUTLOOKCARD_CID \
|
||||
{ /* {32cf9734-4ee8-4f5d-acfc-71b75eee1819}*/ \
|
||||
0x32cf9734, 0x4ee8, 0x4f5d, \
|
||||
{0xac, 0xfc, 0x71, 0xb7, 0x5e, 0xee, 0x18, 0x19} \
|
||||
}
|
||||
|
||||
//
|
||||
// Outlook directory factory
|
||||
//
|
||||
#define NS_ABOUTLOOKDIRFACTORY_CONTRACTID \
|
||||
NS_AB_DIRECTORY_FACTORY_CONTRACTID_PREFIX "moz-aboutlookdirectory"
|
||||
|
||||
#define NS_ABOUTLOOKDIRFACTORY_CID \
|
||||
{ /* {558ccc0f-2681-4dac-a066-debd8d26faf6}*/ \
|
||||
0x558ccc0f, 0x2681, 0x4dac, \
|
||||
{0xa0, 0x66, 0xde, 0xbd, 0x8d, 0x26, 0xfa, 0xf6} \
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// Addressbook Query support
|
||||
//
|
||||
|
||||
#define NS_ABDIRECTORYQUERYARGUMENTS_CONTRACTID \
|
||||
"@mozilla.org/addressbook/directory/query-arguments;1"
|
||||
|
||||
#define NS_ABDIRECTORYQUERYARGUMENTS_CID \
|
||||
{ /* {f7dc2aeb-8e62-4750-965c-24b9e09ed8d2} */ \
|
||||
0xf7dc2aeb, 0x8e62, 0x4750, \
|
||||
{ 0x96, 0x5c, 0x24, 0xb9, 0xe0, 0x9e, 0xd8, 0xd2 } \
|
||||
}
|
||||
|
||||
|
||||
#define NS_BOOLEANCONDITIONSTRING_CONTRACTID \
|
||||
"@mozilla.org/boolean-expression/condition-string;1"
|
||||
|
||||
#define NS_BOOLEANCONDITIONSTRING_CID \
|
||||
{ /* {ca1944a9-527e-4c77-895d-d0466dd41cf5} */ \
|
||||
0xca1944a9, 0x527e, 0x4c77, \
|
||||
{ 0x89, 0x5d, 0xd0, 0x46, 0x6d, 0xd4, 0x1c, 0xf5 } \
|
||||
}
|
||||
|
||||
|
||||
#define NS_BOOLEANEXPRESSION_CONTRACTID \
|
||||
"@mozilla.org/boolean-expression/n-peer;1"
|
||||
|
||||
#define NS_BOOLEANEXPRESSION_CID \
|
||||
{ /* {2c2e75c8-6f56-4a50-af1c-72af5d0e8d41} */ \
|
||||
0x2c2e75c8, 0x6f56, 0x4a50, \
|
||||
{ 0xaf, 0x1c, 0x72, 0xaf, 0x5d, 0x0e, 0x8d, 0x41 } \
|
||||
}
|
||||
|
||||
#define NS_ABDIRECTORYQUERYPROXY_CONTRACTID \
|
||||
"@mozilla.org/addressbook/directory-query/proxy;1"
|
||||
|
||||
#define NS_ABDIRECTORYQUERYPROXY_CID \
|
||||
{ /* {E162E335-541B-43B4-AAEA-FE591E240CAF}*/ \
|
||||
0xE162E335, 0x541B, 0x43B4, \
|
||||
{0xAA, 0xEA, 0xFE, 0x59, 0x1E, 0x24, 0x0C, 0xAF} \
|
||||
}
|
||||
|
||||
// nsAbLDAPDirectory
|
||||
//
|
||||
#define NS_ABLDAPDIRECTORY_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "moz-abldapdirectory"
|
||||
|
||||
#define NS_ABLDAPDIRECTORY_CID \
|
||||
{ /* {783E2777-66D7-4826-9E4B-8AB58C228A52}*/ \
|
||||
0x783E2777, 0x66D7, 0x4826, \
|
||||
{0x9E, 0x4B, 0x8A, 0xB5, 0x8C, 0x22, 0x8A, 0x52} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsAbLDAPCard
|
||||
//
|
||||
#define NS_ABLDAPCARD_CONTRACTID \
|
||||
"@mozilla.org/addressbook/moz-abldapcard"
|
||||
|
||||
#define NS_ABLDAPCARD_CID \
|
||||
{ /* {10307B01-EBD6-465F-B972-1630410F70E6}*/ \
|
||||
0x10307B01, 0xEBD6, 0x465F, \
|
||||
{0xB9, 0x72, 0x16, 0x30, 0x41, 0x0F, 0x70, 0xE6} \
|
||||
}
|
||||
|
||||
//
|
||||
// LDAP directory factory
|
||||
//
|
||||
#define NS_ABLDAPDIRFACTORY_CONTRACTID \
|
||||
NS_AB_DIRECTORY_FACTORY_CONTRACTID_PREFIX "moz-abldapdirectory"
|
||||
|
||||
#define NS_ABLDAPDIRFACTORY_CID \
|
||||
{ /* {8e3701af-8828-426c-84ac-124825c778f8} */ \
|
||||
0x8e3701af, 0x8828, 0x426c, \
|
||||
{0x84, 0xac, 0x12, 0x48, 0x25, 0xc7, 0x78, 0xf8} \
|
||||
}
|
||||
|
||||
//
|
||||
// LDAP autcomplete directory factory
|
||||
//
|
||||
#define NS_ABLDAPACDIRFACTORY_CONTRACTID \
|
||||
NS_AB_DIRECTORY_FACTORY_CONTRACTID_PREFIX "ldap"
|
||||
#define NS_ABLDAPSACDIRFACTORY_CONTRACTID \
|
||||
NS_AB_DIRECTORY_FACTORY_CONTRACTID_PREFIX "ldaps"
|
||||
|
||||
// nsAbLDAPAutoCompFormatter
|
||||
|
||||
// 4e276d6d-9981-46b4-9070-92f344ac5f5a
|
||||
//
|
||||
#define NS_ABLDAPAUTOCOMPFORMATTER_CID \
|
||||
{ 0x4e276d6d, 0x9981, 0x46b4, \
|
||||
{ 0x90, 0x70, 0x92, 0xf3, 0x44, 0xac, 0x5f, 0x5a }}
|
||||
|
||||
#define NS_ABLDAPAUTOCOMPFORMATTER_CONTRACTID \
|
||||
"@mozilla.org/ldap-autocomplete-formatter;1?type=addrbook"
|
||||
|
||||
|
||||
// nsAbLDAPReplicationService
|
||||
//
|
||||
// {ece81280-2639-11d6-b791-00b0d06e5f27}
|
||||
//
|
||||
#define NS_ABLDAP_REPLICATIONSERVICE_CID \
|
||||
{0xece81280, 0x2639, 0x11d6, \
|
||||
{ 0xb7, 0x91, 0x00, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}
|
||||
|
||||
#define NS_ABLDAP_REPLICATIONSERVICE_CONTRACTID \
|
||||
"@mozilla.org/addressbook/ldap-replication-service;1"
|
||||
|
||||
// nsAbLDAPReplicationQuery
|
||||
//
|
||||
// {5414fff0-263b-11d6-b791-00b0d06e5f27}
|
||||
//
|
||||
#define NS_ABLDAP_REPLICATIONQUERY_CID \
|
||||
{0x5414fff0, 0x263b, 0x11d6, \
|
||||
{ 0xb7, 0x91, 0x00, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}
|
||||
|
||||
#define NS_ABLDAP_REPLICATIONQUERY_CONTRACTID \
|
||||
"@mozilla.org/addressbook/ldap-replication-query;1"
|
||||
|
||||
|
||||
// nsAbLDAPChangeLogQuery
|
||||
//
|
||||
// {63E11D51-3C9B-11d6-B7B9-00B0D06E5F27}
|
||||
#define NS_ABLDAP_CHANGELOGQUERY_CID \
|
||||
{0x63e11d51, 0x3c9b, 0x11d6, \
|
||||
{ 0xb7, 0xb9, 0x0, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}
|
||||
|
||||
#define NS_ABLDAP_CHANGELOGQUERY_CONTRACTID \
|
||||
"@mozilla.org/addressbook/ldap-changelog-query;1"
|
||||
|
||||
// nsAbLDAPProcessReplicationData
|
||||
//
|
||||
// {5414fff1-263b-11d6-b791-00b0d06e5f27}
|
||||
//
|
||||
#define NS_ABLDAP_PROCESSREPLICATIONDATA_CID \
|
||||
{0x5414fff1, 0x263b, 0x11d6, \
|
||||
{ 0xb7, 0x91, 0x00, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}
|
||||
|
||||
#define NS_ABLDAP_PROCESSREPLICATIONDATA_CONTRACTID \
|
||||
"@mozilla.org/addressbook/ldap-process-replication-data;1"
|
||||
|
||||
|
||||
// nsAbLDAPProcessChangeLogData
|
||||
//
|
||||
// {63E11D52-3C9B-11d6-B7B9-00B0D06E5F27}
|
||||
#define NS_ABLDAP_PROCESSCHANGELOGDATA_CID \
|
||||
{0x63e11d52, 0x3c9b, 0x11d6, \
|
||||
{0xb7, 0xb9, 0x0, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}
|
||||
|
||||
#define NS_ABLDAP_PROCESSCHANGELOGDATA_CONTRACTID \
|
||||
"@mozilla.org/addressbook/ldap-process-changelog-data;1"
|
||||
|
||||
// nsABView
|
||||
|
||||
#define NS_ABVIEW_CID \
|
||||
{ 0xc5eb5d6a, 0x1dd1, 0x11b2, \
|
||||
{ 0xa0, 0x25, 0x94, 0xd1, 0x18, 0x1f, 0xc5, 0x9c }}
|
||||
|
||||
#define NS_ABVIEW_CONTRACTID \
|
||||
"@mozilla.org/addressbook/abview;1"
|
||||
|
||||
#endif // nsAbBaseCID_h__
|
|
@ -76,7 +76,6 @@ endif
|
|||
EXTRA_DSO_LIBS += rdfutil_s
|
||||
|
||||
CPPSRCS = nsMsgFactory.cpp
|
||||
EXPORTS = nsMsgBaseCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msgbase_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -118,6 +118,7 @@ CPPSRCS += nsMessengerOS2Integration.cpp
|
|||
endif
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgBaseCID.h \
|
||||
nsMessenger.h \
|
||||
nsMessengerBootstrap.h \
|
||||
nsUrlListenerManager.h \
|
||||
|
|
|
@ -0,0 +1,497 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMessageBaseCID_h__
|
||||
#define nsMessageBaseCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
//
|
||||
// nsMsgFolderDataSource
|
||||
//
|
||||
#define NS_MAILNEWSFOLDERDATASOURCE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "mailnewsfolders"
|
||||
|
||||
#define NS_MAILNEWSFOLDERDATASOURCE_CID \
|
||||
{ /* 2B8ED4A4-F684-11d2-8A5D-0060B0FC04D2 */ \
|
||||
0x2b8ed4a4, \
|
||||
0xf684, \
|
||||
0x11d2, \
|
||||
{0x8a, 0x5d, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsMsgAccountManager
|
||||
//
|
||||
#define NS_MSGACCOUNTMANAGER_CONTRACTID \
|
||||
"@mozilla.org/messenger/account-manager;1"
|
||||
|
||||
#define NS_MSGACCOUNTMANAGER_CID \
|
||||
{ /* D2876E50-E62C-11d2-B7FC-00805F05FFA5 */ \
|
||||
0xd2876e50, 0xe62c, 0x11d2, \
|
||||
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
|
||||
|
||||
//
|
||||
// nsMessengerMigrator
|
||||
//
|
||||
#define NS_MESSENGERMIGRATOR_CONTRACTID \
|
||||
"@mozilla.org/messenger/migrator;1"
|
||||
|
||||
#define NS_MESSENGERMIGRATOR_CID \
|
||||
{ /* 54818d98-1dd2-11b2-82aa-a9197f997503 */ \
|
||||
0x54818d98, 0x1dd2, 0x11b2, \
|
||||
{ 0x82, 0xaa, 0xa9, 0x19, 0x7f, 0x99, 0x75, 0x03}}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// nsMsgIdentity
|
||||
//
|
||||
#define NS_MSGIDENTITY_CONTRACTID \
|
||||
"@mozilla.org/messenger/identity;1"
|
||||
|
||||
#define NS_MSGIDENTITY_CID \
|
||||
{ /* 8fbf6ac0-ebcc-11d2-b7fc-00805f05ffa5 */ \
|
||||
0x8fbf6ac0, 0xebcc, 0x11d2, \
|
||||
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
|
||||
|
||||
//
|
||||
// nsMsgIncomingServer
|
||||
#define NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX \
|
||||
"@mozilla.org/messenger/server;1?type="
|
||||
|
||||
#define NS_MSGINCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "generic"
|
||||
|
||||
/* {66e5ff08-5126-11d3-9711-006008948010} */
|
||||
#define NS_MSGINCOMINGSERVER_CID \
|
||||
{0x66e5ff08, 0x5126, 0x11d3, \
|
||||
{0x97, 0x11, 0x00, 0x60, 0x08, 0x94, 0x80, 0x10}}
|
||||
|
||||
|
||||
//
|
||||
// nsMsgAccount
|
||||
//
|
||||
#define NS_MSGACCOUNT_CONTRACTID \
|
||||
"@mozilla.org/messenger/account;1"
|
||||
|
||||
#define NS_MSGACCOUNT_CID \
|
||||
{ /* 68b25510-e641-11d2-b7fc-00805f05ffa5 */ \
|
||||
0x68b25510, 0xe641, 0x11d2, \
|
||||
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
|
||||
|
||||
//
|
||||
// nsMsgFilterService
|
||||
//
|
||||
#define NS_MSGFILTERSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/services/filters;1"
|
||||
|
||||
#define NS_MSGFILTERSERVICE_CID \
|
||||
{ 0x5cbb0700, 0x04bc, 0x11d3, \
|
||||
{ 0xa5, 0x0a, 0x0, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
|
||||
|
||||
|
||||
//
|
||||
// nsMsgSearchSession
|
||||
//
|
||||
/* e9a7cd70-0303-11d3-a50a-0060b0fc04b7 */
|
||||
#define NS_MSGSEARCHSESSION_CID \
|
||||
{ 0xe9a7cd70, 0x0303, 0x11d3, \
|
||||
{ 0xa5, 0x0a, 0x0, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
|
||||
|
||||
#define NS_MSGSEARCHSESSION_CONTRACTID \
|
||||
"@mozilla.org/messenger/searchSession;1"
|
||||
|
||||
/* E1DA397D-FDC5-4b23-A6FE-D46A034D80B3 */
|
||||
#define NS_MSGSEARCHTERM_CID \
|
||||
{ 0xe1da397d, 0xfdc5, 0x4b23, \
|
||||
{ 0xa6, 0xfe, 0xd4, 0x6a, 0x3, 0x4d, 0x80, 0xb3 } }
|
||||
|
||||
#define NS_MSGSEARCHTERM_CONTRACTID \
|
||||
"@mozilla.org/messenger/searchTerm;1"
|
||||
|
||||
//
|
||||
// nsMsgSearchValidityManager
|
||||
//
|
||||
/* 1510faee-ad1a-4194-8039-33de32d5a882 */
|
||||
#define NS_MSGSEARCHVALIDITYMANAGER_CID \
|
||||
{0x1510faee, 0xad1a, 0x4194, \
|
||||
{ 0x80, 0x39, 0x33, 0xde, 0x32, 0xd5, 0xa8, 0x82 }}
|
||||
|
||||
#define NS_MSGSEARCHVALIDITYMANAGER_CONTRACTID \
|
||||
"@mozilla.org/mail/search/validityManager;1"
|
||||
|
||||
//
|
||||
// nsMsgMailSession
|
||||
//
|
||||
#define NS_MSGMAILSESSION_CONTRACTID \
|
||||
"@mozilla.org/messenger/services/session;1"
|
||||
|
||||
/* D5124441-D59E-11d2-806A-006008128C4E */
|
||||
#define NS_MSGMAILSESSION_CID \
|
||||
{ 0xd5124441, 0xd59e, 0x11d2, \
|
||||
{ 0x80, 0x6a, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
|
||||
|
||||
//
|
||||
// nsMsgBiffManager
|
||||
//
|
||||
#define NS_MSGBIFFMANAGER_CONTRACTID \
|
||||
"@mozilla.org/messenger/biffManager;1"
|
||||
|
||||
/* 4A374E7E-190F-11d3-8A88-0060B0FC04D2 */
|
||||
#define NS_MSGBIFFMANAGER_CID \
|
||||
{ 0x4a374e7e, 0x190f, 0x11d3, \
|
||||
{ 0x8a, 0x88, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2 } }
|
||||
|
||||
|
||||
//
|
||||
// nsMsgPurgeService
|
||||
//
|
||||
#define NS_MSGPURGESERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/purgeService;1"
|
||||
|
||||
/* a687b474-afd8-418f-8ad9-f362202ae9a9 */
|
||||
#define NS_MSGPURGESERVICE_CID \
|
||||
{ 0xa687b474, 0xafd8, 0x418f, \
|
||||
{ 0x8a, 0xd9, 0xf3, 0x62, 0x20, 0x2a, 0xe9, 0xa9 } }
|
||||
|
||||
//
|
||||
// nsStatusBarBiffManager
|
||||
//
|
||||
#define NS_STATUSBARBIFFMANAGER_CONTRACTID \
|
||||
"@mozilla.org/messenger/statusBarBiffManager;1"
|
||||
|
||||
/* 7f9a9fb0-4161-11d4-9876-00c04fa0d2a6 */
|
||||
#define NS_STATUSBARBIFFMANAGER_CID \
|
||||
{ 0x7f9a9fb0, 0x4161, 0x11d4, \
|
||||
{0x98, 0x76, 0x00, 0xc0, 0x4f, 0xa0, 0xd2, 0xa6} }
|
||||
|
||||
//
|
||||
// nsCopyMessageStreamListener
|
||||
//
|
||||
#define NS_COPYMESSAGESTREAMLISTENER_CONTRACTID \
|
||||
"@mozilla.org/messenger/copymessagestreamlistener;1"
|
||||
|
||||
#define NS_COPYMESSAGESTREAMLISTENER_CID \
|
||||
{ 0x7741daed, 0x2125, 0x11d3, \
|
||||
{ 0x8a, 0x90, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2 } }
|
||||
|
||||
//
|
||||
// nsMsgCopyService
|
||||
//
|
||||
#define NS_MSGCOPYSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/messagecopyservice;1"
|
||||
|
||||
/* c766e666-29bd-11d3-afb3-001083002da8 */
|
||||
#define NS_MSGCOPYSERVICE_CID \
|
||||
{ 0xc766e666, 0x29bd, 0x11d3, \
|
||||
{ 0xaf, 0xb3, 0x00, 0x10, 0x83, 0x00, 0x2d, 0xa8 } }
|
||||
|
||||
#define NS_MSGFOLDERCACHE_CONTRACTID \
|
||||
"@mozilla.org/messenger/msgFolderCache;1"
|
||||
|
||||
/* bcdca970-3b22-11d3-8d76-00805f8a6617 */
|
||||
#define NS_MSGFOLDERCACHE_CID \
|
||||
{ 0xbcdca970, 0x3b22, 0x11d3, \
|
||||
{ 0x8d, 0x76, 0x00, 0x80, 0xf5, 0x8a, 0x66, 0x17 } }
|
||||
|
||||
//
|
||||
// nsUrlListenerManager
|
||||
//
|
||||
#define NS_URLLISTENERMANAGER_CONTRACTID \
|
||||
"@mozilla.org/messenger/urlListenerManager;1"
|
||||
|
||||
/* B1AA0820-D04B-11d2-8069-006008128C4E */
|
||||
#define NS_URLLISTENERMANAGER_CID \
|
||||
{ 0xb1aa0820, 0xd04b, 0x11d2, \
|
||||
{0x80, 0x69, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e} }
|
||||
|
||||
//
|
||||
// nsMessengerBootstrap
|
||||
//
|
||||
#define NS_MESSENGERBOOTSTRAP_CONTRACTID \
|
||||
"@mozilla.org/appshell/component/messenger;1"
|
||||
#define NS_MAILSTARTUPHANDLER_CONTRACTID \
|
||||
"@mozilla.org/commandlinehandler/general-startup;1?type=mail"
|
||||
#define NS_MESSENGERWINDOWSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/windowservice;1"
|
||||
#define NS_MESSENGERWINDOWSERVICE_CID \
|
||||
{ 0xa01b6724, 0x1dd1, 0x11b2, \
|
||||
{0xaa, 0xb9, 0x82,0xf2, 0x4c,0x59, 0x5f, 0x41} }
|
||||
|
||||
//
|
||||
// nsMessenger
|
||||
//
|
||||
#define NS_MESSENGER_CONTRACTID \
|
||||
"@mozilla.org/messenger;1"
|
||||
|
||||
//
|
||||
// nsMsgStatusFeedback
|
||||
//
|
||||
#define NS_MSGSTATUSFEEDBACK_CONTRACTID \
|
||||
"@mozilla.org/messenger/statusfeedback;1"
|
||||
|
||||
/* B1AA0820-D04B-11d2-8069-006008128C4E */
|
||||
#define NS_MSGSTATUSFEEDBACK_CID \
|
||||
{ 0xbd85a417, 0x5433, 0x11d3, \
|
||||
{0x8a, 0xc5, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2} }
|
||||
|
||||
//
|
||||
//nsMsgWindow
|
||||
//
|
||||
#define NS_MSGWINDOW_CONTRACTID \
|
||||
"@mozilla.org/messenger/msgwindow;1"
|
||||
|
||||
/* BB460DFF-8BF0-11d3-8AFE-0060B0FC04D2*/
|
||||
#define NS_MSGWINDOW_CID \
|
||||
{ 0xbb460dff, 0x8bf0, 0x11d3, \
|
||||
{ 0x8a, 0xfe, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2}}
|
||||
|
||||
//
|
||||
// Print Engine...
|
||||
//
|
||||
#define NS_MSGPRINTENGINE_CONTRACTID \
|
||||
"@mozilla.org/messenger/msgPrintEngine;1"
|
||||
|
||||
#define NS_MSG_PRINTENGINE_CID \
|
||||
{ /* 91FD6B19-E0BC-11d3-8F97-000064657374 */ \
|
||||
0x91fd6b19, 0xe0bc, 0x11d3, \
|
||||
{ 0x8f, 0x97, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
|
||||
|
||||
//
|
||||
// nsMsgServiceProviderService
|
||||
//
|
||||
#define NS_MSGSERVICEPROVIDERSERVICE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "ispdefaults"
|
||||
|
||||
/* 10998cef-d7f2-4772-b7db-bd097454984c */
|
||||
#define NS_MSGSERVICEPROVIDERSERVICE_CID \
|
||||
{ 0x10998cef, 0xd7f2, 0x4772, \
|
||||
{ 0xb7, 0xdb, 0xbd, 0x09, 0x74, 0x54, 0x98, 0x4c}}
|
||||
|
||||
#define NS_MSGLOGONREDIRECTORSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/msglogonredirector;1"
|
||||
|
||||
#define NS_MSGLOGONREDIRECTORSERVICE_CID \
|
||||
{0x0d7456ae, 0xe28a, 0x11d3, \
|
||||
{0xa5, 0x60, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7}}
|
||||
|
||||
//
|
||||
// nsSubscribableServer
|
||||
//
|
||||
#define NS_SUBSCRIBABLESERVER_CONTRACTID \
|
||||
"@mozilla.org/messenger/subscribableserver;1"
|
||||
|
||||
#define NS_SUBSCRIBABLESERVER_CID \
|
||||
{0x8510876a, 0x1dd2, 0x11b2, \
|
||||
{0x82, 0x53, 0x91, 0xf7, 0x1b, 0x34, 0x8a, 0x25}}
|
||||
|
||||
//
|
||||
// nsSubscribeDataSource
|
||||
//
|
||||
#define NS_SUBSCRIBEDATASOURCE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "subscribe"
|
||||
|
||||
/* 00e89c82-1dd2-11b2-9a1c-e75995d7d595 */
|
||||
#define NS_SUBSCRIBEDATASOURCE_CID \
|
||||
{ 0x00e89c82, 0x1dd2, 0x11b2, \
|
||||
{ 0x9a, 0x1c, 0xe7, 0x59, 0x95, 0xd7, 0xd5, 0x95}}
|
||||
|
||||
//
|
||||
// delegate factory
|
||||
//
|
||||
|
||||
/* c6584cee-8ee8-4b2c-8dbe-7dfcb55c9c61 */
|
||||
#define NS_MSGFILTERDELEGATEFACTORY_CID \
|
||||
{0xc6584cee, 0x8ee8, 0x4b2c, \
|
||||
{ 0x8d, 0xbe, 0x7d, 0xfc, 0xb5, 0x5c, 0x9c, 0x61 }}
|
||||
|
||||
#define NS_MSGFILTERDELEGATEFACTORY_CONTRACTID_PREFIX \
|
||||
NS_RDF_DELEGATEFACTORY_CONTRACTID_PREFIX "filter" "&scheme="
|
||||
|
||||
// Note: the above CID should live in base, but each protocol
|
||||
// should be creating the ContractID themselves. for now we'll
|
||||
// do it for news/imap/local mail
|
||||
|
||||
#define NS_MSGFILTERDELEGATEFACTORY_MAILBOX_CONTRACTID \
|
||||
NS_MSGFILTERDELEGATEFACTORY_CONTRACTID_PREFIX "mailbox"
|
||||
|
||||
#define NS_MSGFILTERDELEGATEFACTORY_NEWS_CONTRACTID \
|
||||
NS_MSGFILTERDELEGATEFACTORY_CONTRACTID_PREFIX "news"
|
||||
|
||||
#define NS_MSGFILTERDELEGATEFACTORY_IMAP_CONTRACTID \
|
||||
NS_MSGFILTERDELEGATEFACTORY_CONTRACTID_PREFIX "imap"
|
||||
|
||||
//
|
||||
// nsMsgFilterDataSource
|
||||
//
|
||||
#define NS_MSGFILTERDATASOURCE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "msgfilters"
|
||||
|
||||
/* d97edfb5-bcbe-4a15-a4fb-fbf2f958b388 */
|
||||
#define NS_MSGFILTERDATASOURCE_CID \
|
||||
{0xd97edfb5, 0xbcbe, 0x4a15, \
|
||||
{ 0xa4, 0xfb, 0xfb, 0xf2, 0xf9, 0x58, 0xb3, 0x88 }}
|
||||
|
||||
#define NS_MSGLOCALFOLDERCOMPACTOR_CONTRACTID \
|
||||
"@mozilla.org/messenger/localfoldercompactor;1"
|
||||
|
||||
/* 7d1d315c-e5c6-11d4-a5b7-0060b0fc04b7 */
|
||||
#define NS_MSGLOCALFOLDERCOMPACTOR_CID \
|
||||
{0x7d1d315c, 0xe5c6, 0x11d4, \
|
||||
{0xa5, 0xb7, 0x00,0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
#define NS_MSGOFFLINESTORECOMPACTOR_CONTRACTID \
|
||||
"@mozilla.org/messenger/offlinestorecompactor;1"
|
||||
|
||||
/* 2db43d16-e5c8-11d4-a5b7-0060b0fc04b7 */
|
||||
#define NS_MSG_OFFLINESTORECOMPACTOR_CID \
|
||||
{0x2db43d16, 0xe5c8, 0x11d4, \
|
||||
{0xa5, 0xb7, 0x00,0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
//
|
||||
// nsMsgDBView
|
||||
//
|
||||
#define NS_MSGDBVIEW_CONTRACTID_PREFIX \
|
||||
"@mozilla.org/messenger/msgdbview;1?type="
|
||||
|
||||
#define NS_MSGTHREADEDDBVIEW_CONTRACTID \
|
||||
NS_MSGDBVIEW_CONTRACTID_PREFIX "threaded"
|
||||
|
||||
#define NS_MSGTHREADSWITHUNREADDBVIEW_CONTRACTID \
|
||||
NS_MSGDBVIEW_CONTRACTID_PREFIX "threadswithunread"
|
||||
|
||||
#define NS_MSGWATCHEDTHREADSWITHUNREADDBVIEW_CONTRACTID \
|
||||
NS_MSGDBVIEW_CONTRACTID_PREFIX "watchedthreadswithunread"
|
||||
|
||||
#define NS_MSGSEARCHDBVIEW_CONTRACTID \
|
||||
NS_MSGDBVIEW_CONTRACTID_PREFIX "search"
|
||||
|
||||
#define NS_MSGQUICKSEARCHDBVIEW_CONTRACTID \
|
||||
NS_MSGDBVIEW_CONTRACTID_PREFIX "quicksearch"
|
||||
|
||||
|
||||
/* 52f860e0-1dd2-11b2-aa72-bb751981bd00 */
|
||||
#define NS_MSGTHREADEDDBVIEW_CID \
|
||||
{0x52f860e0, 0x1dd2, 0x11b2, \
|
||||
{0xaa, 0x72, 0xbb, 0x75, 0x19, 0x81, 0xbd, 0x00 }}
|
||||
|
||||
/* ca79a00e-010d-11d5-a5be-0060b0fc04b7 */
|
||||
#define NS_MSGTHREADSWITHUNREADDBVIEW_CID \
|
||||
{0xca79a00e, 0x010d, 0x11d5, \
|
||||
{0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
/* 597e1ffe-0123-11d5-a5be-0060b0fc04b7 */
|
||||
#define NS_MSGWATCHEDTHREADSWITHUNREADDBVIEW_CID \
|
||||
{0x597e1ffe, 0x0123, 0x11d5, \
|
||||
{0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
/* aeac118c-0823-11d5-a5bf-0060b0fc04b7 */
|
||||
#define NS_MSGSEARCHDBVIEW_CID \
|
||||
{0xaeac118c, 0x0823, 0x11d5, \
|
||||
{0xa5, 0xbf, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7}}
|
||||
|
||||
/* 2dd9d0fe-b609-11d6-bacc-00108335748d */
|
||||
#define NS_MSGQUICKSEARCHDBVIEW_CID \
|
||||
{0x2dd9d0fe, 0xb609, 0x11d6, \
|
||||
{0xba, 0xcc, 0x00, 0x10, 0x83, 0x35, 0x74, 0x8d}}
|
||||
|
||||
//
|
||||
// nsMsgAccountManager
|
||||
//
|
||||
#define NS_MSGOFFLINEMANAGER_CONTRACTID \
|
||||
"@mozilla.org/messenger/offline-manager;1"
|
||||
|
||||
#define NS_MSGOFFLINEMANAGER_CID \
|
||||
{ /* ac6c518a-09b2-11d5-a5bf-0060b0fc04b7 */ \
|
||||
0xac6c518a, 0x09b2, 0x11d5, \
|
||||
{0xa5, 0xbf, 0x0, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
|
||||
//
|
||||
// nsMsgProgress
|
||||
//
|
||||
#define NS_MSGPROGRESS_CONTRACTID \
|
||||
"@mozilla.org/messenger/progress;1"
|
||||
|
||||
#define NS_MSGPROGRESS_CID \
|
||||
{ /* 9f4dd201-3b1f-11d5-9daa-c345c9453d3c */ \
|
||||
0x9f4dd201, 0x3b1f, 0x11d5, \
|
||||
{0x9d, 0xaa, 0xc3, 0x45, 0xc9, 0x45, 0x3d, 0x3c }}
|
||||
|
||||
//
|
||||
// nsSpamSettings
|
||||
//
|
||||
#define NS_SPAMSETTINGS_CONTRACTID \
|
||||
"@mozilla.org/messenger/spamsettings;1"
|
||||
|
||||
#define NS_SPAMSETTINGS_CID \
|
||||
{ /* ce6038ae-e5e0-4372-9cff-2a6633333b2b */ \
|
||||
0xce6038ae, 0xe5e0, 0x4372, \
|
||||
{0x9c, 0xff, 0x2a, 0x66, 0x33, 0x33, 0x3b, 0x2b }}
|
||||
|
||||
//
|
||||
// nsMessengerOSIntegration
|
||||
//
|
||||
#define NS_MESSENGEROSINTEGRATION_CONTRACTID \
|
||||
"@mozilla.org/messenger/osintegration;1"
|
||||
|
||||
//
|
||||
// cid protocol handler
|
||||
//
|
||||
#define NS_CIDPROTOCOLHANDLER_CONTRACTID \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "cid"
|
||||
|
||||
#define NS_CIDPROTOCOL_CID \
|
||||
{ /* b3db9392-1b15-48ba-a136-0cc3db13d87b */ \
|
||||
0xb3db9392, 0x1b15, 0x48ba, \
|
||||
{0xa1, 0x36, 0x0c, 0xc3, 0xdb, 0x13, 0xd8, 0x7b }}
|
||||
|
||||
//
|
||||
// nsMessengerContentHandler
|
||||
//
|
||||
#define NS_MESSENGERCONTENTHANDLER_CID \
|
||||
{ /* 57E1BCBB-1FBA-47e7-B96B-F59E392473B0 */ \
|
||||
0x57e1bcbb, 0x1fba, 0x47e7, \
|
||||
{0xb9, 0x6b, 0xf5, 0x9e, 0x39, 0x24, 0x73, 0xb0}}
|
||||
|
||||
#define NS_MESSENGERCONTENTHANDLER_CONTRACTID \
|
||||
NS_CONTENT_HANDLER_CONTRACTID_PREFIX "x-message-display"
|
||||
|
||||
#endif // nsMessageBaseCID_h__
|
|
@ -64,7 +64,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsMsgCompFactory.cpp
|
||||
EXPORTS = nsMsgCompCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msgcompose_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -97,6 +97,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgCompCID.h \
|
||||
nsSmtpUrl.h \
|
||||
nsSmtpProtocol.h \
|
||||
nsSmtpService.h \
|
||||
|
|
|
@ -0,0 +1,302 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMessageCompCID_h__
|
||||
#define nsMessageCompCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
//
|
||||
// nsMsgComposeService
|
||||
//
|
||||
#define NS_MSGCOMPOSESERVICE_CID \
|
||||
{ /* 588595FE-1ADA-11d3-A715-0060B0EB39B5 */ \
|
||||
0x588595fe, 0x1ada, 0x11d3, \
|
||||
{0xa7, 0x15, 0x0, 0x60, 0xb0, 0xeb, 0x39, 0xb5}}
|
||||
|
||||
#define NS_MSGCOMPOSESERVICE_CONTRACTID \
|
||||
"@mozilla.org/messengercompose;1"
|
||||
#define NS_MSGCOMPOSESTARTUPHANDLER_CONTRACTID \
|
||||
"@mozilla.org/commandlinehandler/general-startup;1?type=compose"
|
||||
|
||||
//
|
||||
// nsMsgComposeContentHandler
|
||||
//
|
||||
#define NS_MSGCOMPOSECONTENTHANDLER_CID \
|
||||
{ /* 0B63FB80-BBBA-11D4-9DAA-91B657EB313C */ \
|
||||
0x0b63fb80, 0xbbba, 0x11d4, \
|
||||
{0x9d, 0xaa, 0x91, 0xb6, 0x57, 0xeb, 0x31, 0x3c}}
|
||||
|
||||
#define NS_MSGCOMPOSECONTENTHANDLER_CONTRACTID \
|
||||
NS_CONTENT_HANDLER_CONTRACTID_PREFIX"x-application-mailto"
|
||||
|
||||
//
|
||||
// nsMsgCompose
|
||||
//
|
||||
#define NS_MSGCOMPOSE_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/compose;1"
|
||||
|
||||
#define NS_MSGCOMPOSE_CID \
|
||||
{ /* EB5BDAF8-BBC6-11d2-A6EC-0060B0EB39B5 */ \
|
||||
0xeb5bdaf8, 0xbbc6, 0x11d2, \
|
||||
{0xa6, 0xec, 0x0, 0x60, 0xb0, 0xeb, 0x39, 0xb5}}
|
||||
|
||||
//
|
||||
// nsMsgComposeSecure
|
||||
//
|
||||
#define NS_MSGCOMPOSESECURE_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/composesecure;1"
|
||||
|
||||
//
|
||||
// nsMsgComposeParams
|
||||
//
|
||||
#define NS_MSGCOMPOSEPARAMS_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/composeparams;1"
|
||||
|
||||
#define NS_MSGCOMPOSEPARAMS_CID \
|
||||
{ /* CB998A00-C079-11D4-9DAA-8DF64BAB2EFC */ \
|
||||
0xcb998a00, 0xc079, 0x11d4, \
|
||||
{0x9d, 0xaa, 0x8d, 0xf6, 0x4b, 0xab, 0x2e, 0xfc}}
|
||||
|
||||
//
|
||||
// nsMsgComposeSendListener
|
||||
//
|
||||
#define NS_MSGCOMPOSESENDLISTENER_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/composesendlistener;1"
|
||||
|
||||
#define NS_MSGCOMPOSESENDLISTENER_CID \
|
||||
{ /* acc72781-2cea-11d5-9daa-bacdeac1eefc */ \
|
||||
0xacc72781, 0x2cea, 0x11d5, \
|
||||
{0x9d, 0xaa, 0xba, 0xcd, 0xea, 0xc1, 0xee, 0xfc}}
|
||||
|
||||
//
|
||||
// nsMsgComposeProgressParams
|
||||
//
|
||||
#define NS_MSGCOMPOSEPROGRESSPARAMS_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/composeprogressparameters;1"
|
||||
|
||||
#define NS_MSGCOMPOSEPROGRESSPARAMS_CID \
|
||||
{ /* 1e0e7c01-3e4c-11d5-9daa-f88d288130fc */ \
|
||||
0x1e0e7c01, 0x3e4c, 0x11d5, \
|
||||
{0x9d, 0xaa, 0xf8, 0x8d, 0x28, 0x81, 0x30, 0xfc}}
|
||||
|
||||
//
|
||||
// nsMsgCompFields
|
||||
//
|
||||
#define NS_MSGCOMPFIELDS_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/composefields;1"
|
||||
|
||||
#define NS_MSGCOMPFIELDS_CID \
|
||||
{ /* 6D222BA0-BD46-11d2-8293-000000000000 */ \
|
||||
0x6d222ba0, 0xbd46, 0x11d2, \
|
||||
{0x82, 0x93, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
|
||||
|
||||
//
|
||||
// nsMsgAttachment
|
||||
//
|
||||
#define NS_MSGATTACHMENT_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/attachment;1"
|
||||
|
||||
#define NS_MSGATTACHMENT_CID \
|
||||
{ /* 27B8D045-8D9F-4fa8-BFB6-8A0F8D09CE89 */ \
|
||||
0x27b8d045, 0x8d9f, 0x4fa8, \
|
||||
{0xbf, 0xb6, 0x8a, 0xf, 0x8d, 0x9, 0xce, 0x89}}
|
||||
|
||||
//
|
||||
// nsMsgSend
|
||||
//
|
||||
#define NS_MSGSEND_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/send;1"
|
||||
|
||||
#define NS_MSGSEND_CID \
|
||||
{ /* 935284E0-C5D8-11d2-8297-000000000000 */ \
|
||||
0x935284e0, 0xc5d8, 0x11d2, \
|
||||
{0x82, 0x97, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
|
||||
|
||||
//
|
||||
// nsMsgSendLater
|
||||
//
|
||||
#define NS_MSGSENDLATER_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/sendlater;1"
|
||||
|
||||
#define NS_MSGSENDLATER_CID \
|
||||
{ /* E15C83F1-1CF4-11d3-8EF0-00A024A7D144 */ \
|
||||
0xe15c83f1, 0x1cf4, 0x11d3, \
|
||||
{0x8e, 0xf0, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 }}
|
||||
|
||||
//
|
||||
// nsSmtpUrl
|
||||
//
|
||||
#define NS_SMTPURL_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/smtpurl;1"
|
||||
|
||||
#define NS_SMTPURL_CID \
|
||||
{ /* BE59DBF0-2812-11d3-80A3-006008128C4E} */ \
|
||||
0xbe59dbf0, 0x2812, 0x11d3, \
|
||||
{0x80, 0xa3, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
|
||||
|
||||
//
|
||||
// nsMailtoUrl
|
||||
//
|
||||
#define NS_MAILTOURL_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/mailtourl;1"
|
||||
|
||||
#define NS_MAILTOURL_CID \
|
||||
{ /* 05BAB5E7-9C7D-11d3-98A3-001083010E9B} */ \
|
||||
0x5bab5e7, 0x9c7d, 0x11d3, \
|
||||
{0x98, 0xa3, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b}}
|
||||
|
||||
//
|
||||
// nsSmtpServer
|
||||
//
|
||||
#define NS_SMTPSERVER_CONTRACTID \
|
||||
"@mozilla.org/messenger/smtp/server;1"
|
||||
|
||||
#define NS_SMTPSERVER_CID \
|
||||
{ /* 60dc861a-56ce-11d3-9118-00a0c900d445 */ \
|
||||
0x60dc861a,0x56ce,0x11d3, \
|
||||
{0x91,0x18, 0x0, 0xa0, 0xc9, 0x0, 0xd4, 0x45 }}
|
||||
|
||||
//
|
||||
// nsSmtpService
|
||||
//
|
||||
#define NS_SMTPSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/smtp;1"
|
||||
|
||||
#define NS_MAILTOHANDLER_CONTRACTID \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "mailto"
|
||||
|
||||
#define NS_SMTPSERVICE_CID \
|
||||
{ /* 5B6419F1-CA9B-11d2-8063-006008128C4E */ \
|
||||
0x5b6419f1, 0xca9b, 0x11d2, \
|
||||
{0x80, 0x63, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
|
||||
|
||||
//
|
||||
// nsMsgQuote
|
||||
//
|
||||
#define NS_MSGQUOTE_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/quoting;1"
|
||||
#define NS_MSGQUOTE_CID \
|
||||
{0x1C7ABF0C, 0x21E5, 0x11d3, \
|
||||
{ 0x8E, 0xF1, 0x00, 0xA0, 0x24, 0xA7, 0xD1, 0x44 }}
|
||||
|
||||
#define NS_MSGQUOTELISTENER_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/quotinglistener;1"
|
||||
#define NS_MSGQUOTELISTENER_CID \
|
||||
{0x683728ac, 0x88df, 0x11d3, \
|
||||
{ 0x98, 0x9d, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b }}
|
||||
|
||||
//
|
||||
// nsMsgDraft
|
||||
//
|
||||
#define NS_MSGDRAFT_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/drafts;1"
|
||||
#define NS_MSGDRAFT_CID \
|
||||
{ 0xa623746c, 0x453b, 0x11d3, \
|
||||
{ 0x8f, 0xf, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 } }
|
||||
|
||||
//
|
||||
// nsMsgRecipientArray
|
||||
//
|
||||
#define NS_MSGRECIPIENTARRAY_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/recipientarray;1"
|
||||
#define NS_MSGRECIPIENTARRAY_CID \
|
||||
{0x9d653e00, 0xa1ca, 0x11d3, \
|
||||
{ 0xa4, 0x49, 0xf7, 0x9a, 0xb1, 0xc7, 0xd8, 0xfc }}
|
||||
|
||||
|
||||
// compose string service routines
|
||||
|
||||
/* B51E56BD-FF80-11d3-98BC-001083010E9B */
|
||||
#define NS_MSG_COMPOSESTRINGSERVICE_CID \
|
||||
{ 0xb51e56bd, 0xff80, 0x11d3, \
|
||||
{ 0x98, 0xbc, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
|
||||
|
||||
#define NS_MSG_SMTPSTRINGSERVICE_CONTRACTID \
|
||||
NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "smtp"
|
||||
|
||||
#define NS_MSG_COMPOSESTRINGSERVICE_CONTRACTID \
|
||||
NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "compose"
|
||||
|
||||
//
|
||||
// nsSmtpDataSource
|
||||
//
|
||||
#define NS_SMTPDATASOURCE_CONTRACTID \
|
||||
NS_RDF_DATASOURCE_CONTRACTID_PREFIX "smtp"
|
||||
|
||||
// {0C612140-25FE-11d4-9A27-0010A4E03656}
|
||||
#define NS_SMTPDATASOURCE_CID \
|
||||
{ 0xc612140, 0x25fe, 0x11d4, \
|
||||
{ 0x9a, 0x27, 0x0, 0x10, 0xa4, 0xe0, 0x36, 0x56 } }
|
||||
|
||||
//
|
||||
// nsSmtpDelegateFactory
|
||||
//
|
||||
#define NS_SMTPDELEGATEFACTORY_CONTRACTID \
|
||||
NS_RDF_DELEGATEFACTORY_CONTRACTID_PREFIX "smtpserver" "&scheme=smtp"
|
||||
|
||||
// {0C612141-25FE-11d4-9A27-0010A4E03656}
|
||||
#define NS_SMTPDELEGATEFACTORY_CID \
|
||||
{ 0xc612141, 0x25fe, 0x11d4, \
|
||||
{ 0x9a, 0x27, 0x0, 0x10, 0xa4, 0xe0, 0x36, 0x56 } }
|
||||
|
||||
//
|
||||
// nsURLFetcher
|
||||
//
|
||||
#define NS_URLFETCHER_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/urlfetcher;1"
|
||||
|
||||
// {01B8A701-2F52-11D5-9DAA-F78DA781A1FC}
|
||||
#define NS_URLFETCHER_CID \
|
||||
{ 0x01b8a701, 0x2f52, 0x11d5, \
|
||||
{ 0x9d, 0xaa, 0xf7, 0x8d, 0xa7, 0x81, 0xa1, 0xfc } }
|
||||
|
||||
//
|
||||
// nsMsgCompUtils
|
||||
//
|
||||
#define NS_MSGCOMPUTILS_CONTRACTID \
|
||||
"@mozilla.org/messengercompose/computils;1"
|
||||
|
||||
// {ceb0dca2-5e7d-4204-94d4-2ab925921fae}
|
||||
#define NS_MSGCOMPUTILS_CID \
|
||||
{ 0xceb0dca2, 0x5e7d, 0x4204, \
|
||||
{ 0x94, 0xd4, 0x2a, 0xb9, 0x25, 0x92, 0x1f, 0xae } }
|
||||
|
||||
|
||||
#endif // nsMessageCompCID_h__
|
|
@ -51,7 +51,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsMsgDBFactory.cpp
|
||||
EXPORTS = nsMsgDBCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = $(DIST)/lib/$(LIB_PREFIX)msgdb_s.$(LIB_SUFFIX)
|
||||
|
||||
|
|
|
@ -54,6 +54,10 @@ CPPSRCS = \
|
|||
nsMsgOfflineImapOperation.cpp \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgDBCID.h \
|
||||
$(NULL)
|
||||
|
||||
# we don't want the shared lib, but we want to force the creation of a static lib.
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
|
|
|
@ -0,0 +1,75 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgDBCID_h__
|
||||
#define nsMsgDBCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
// a86c86ae-e97f-11d2-a506-0060b0fc04b7
|
||||
#define NS_MAILDB_CID \
|
||||
{ 0xa86c86ae, 0xe97f, 0x11d2, \
|
||||
{ 0xa5, 0x06, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
|
||||
|
||||
// 36414aa0-e980-11d2-a506-0060b0fc04b7
|
||||
#define NS_NEWSDB_CID \
|
||||
{ 0x36414aa0, 0xe980, 0x11d2, \
|
||||
{ 0xa5, 0x06, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
|
||||
|
||||
// 9e4b07ee-e980-11d2-a506-0060b0fc04b7
|
||||
#define NS_IMAPDB_CID \
|
||||
{ 0x9e4b07ee, 0xe980, 0x11d2, \
|
||||
{ 0xa5, 0x06, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
|
||||
|
||||
#define NS_MSG_RETENTIONSETTINGS_CID \
|
||||
{ 0x1bd976d6, 0xdf44, 0x11d4, \
|
||||
{0xa5, 0xb6, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7} }
|
||||
|
||||
#define NS_MSG_RETENTIONSETTINGS_CONTRACTID \
|
||||
"@mozilla.org/msgDatabase/retentionSettings;1"
|
||||
|
||||
// 4e3dae5a-157a-11d5-a5c0-0060b0fc04b7
|
||||
#define NS_MSG_DOWNLOADSETTINGS_CID \
|
||||
{ 0x4e3dae5a, 0x157a, 0x11d5, \
|
||||
{0xa5, 0xc0, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7} }
|
||||
|
||||
#define NS_MSG_DOWNLOADSETTINGS_CONTRACTID \
|
||||
"@mozilla.org/msgDatabase/downloadSettings;1"
|
||||
|
||||
#endif
|
|
@ -51,7 +51,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsBayesianFilterFactory.cpp
|
||||
EXPORTS = nsBayesianFilterCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)bayesflt_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -46,6 +46,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsBayesianFilterCID.h \
|
||||
nsBayesianFilter.h \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Jeff Tsai <jt95070@netscape.net>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsBayesianFilterCID_h__
|
||||
#define nsBayesianFilterCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
#include "nsIMsgMdnGenerator.h"
|
||||
|
||||
#define NS_BAYESIANFILTER_CONTRACTID \
|
||||
"@mozilla.org/messenger/filter-plugin;1?name=bayesianfilter"
|
||||
#define NS_BAYESIANFILTER_CID \
|
||||
{ /* F1070BFA-D539-11D6-90CA-00039310A47A */ \
|
||||
0xF1070BFA, 0xD539, 0x11D6, \
|
||||
{ 0x90, 0xCA, 0x00, 0x03, 0x93, 0x10, 0xA4, 0x7A }}
|
||||
|
||||
#endif /* nsBayesianFilterCID_h__ */
|
|
@ -51,7 +51,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsMsgMdnFactory.cpp
|
||||
EXPORTS = nsMsgMdnCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msgmdn_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -51,6 +51,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgMdnCID.h \
|
||||
nsMsgMdnGenerator.h \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Jeff Tsai <jt95070@netscape.net>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgMdnCID_h__
|
||||
#define nsMsgMdnCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
#include "nsIMsgMdnGenerator.h"
|
||||
|
||||
#define NS_MSGMDNGENERATOR_CONTRACTID \
|
||||
"@mozilla.org/messenger-mdn/generator;1"
|
||||
#define NS_MSGMDNGENERATOR_CID \
|
||||
{ /* ec917b13-8f73-4d4d-9146-d7f7aafe9076 */ \
|
||||
0xec917b13, 0x8f73, 0x4d4d, \
|
||||
{ 0x91, 0x46, 0xd7, 0xf7, 0xaa, 0xfe, 0x90, 0x76 }}
|
||||
|
||||
#endif /* nsMsgMdnCID_h__ */
|
|
@ -49,7 +49,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsMsgSMIMEFactory.cpp
|
||||
EXPORTS = nsMsgSMIMECID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msgsmime_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -48,6 +48,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgSMIMECID.h \
|
||||
nsMsgComposeSecure.h \
|
||||
nsSMimeJSHelper.h \
|
||||
nsEncryptedSMIMEURIsService.h \
|
||||
|
|
|
@ -0,0 +1,75 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Scott MacGregor <mscott@netscape.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgSMIMECID_h__
|
||||
#define nsMsgSMIMECID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
#define NS_MSGSMIMECOMPFIELDS_CONTRACTID \
|
||||
"@mozilla.org/messenger-smime/composefields;1"
|
||||
|
||||
#define NS_MSGSMIMECOMPFIELDS_CID \
|
||||
{ /* 122C919C-96B7-49a0-BBC8-0ABC67EEFFE0 */ \
|
||||
0x122c919c, 0x96b7, 0x49a0, \
|
||||
{ 0xbb, 0xc8, 0xa, 0xbc, 0x67, 0xee, 0xff, 0xe0 }}
|
||||
|
||||
#define NS_MSGCOMPOSESECURE_CID \
|
||||
{ /* dd753201-9a23-4e08-957f-b3616bf7e012 */ \
|
||||
0xdd753201, 0x9a23, 0x4e08, \
|
||||
{0x95, 0x7f, 0xb3, 0x61, 0x6b, 0xf7, 0xe0, 0x12 }}
|
||||
|
||||
#define NS_SMIMEJSHELPER_CONTRACTID \
|
||||
"@mozilla.org/messenger-smime/smimejshelper;1"
|
||||
|
||||
#define NS_SMIMEJSJELPER_CID \
|
||||
{ /* d57d928c-60e4-4f81-999d-5c762e611205 */ \
|
||||
0xd57d928c, 0x60e4, 0x4f81, \
|
||||
{0x99, 0x9d, 0x5c, 0x76, 0x2e, 0x61, 0x12, 0x05 }}
|
||||
|
||||
#define NS_SMIMEENCRYPTURISERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger-smime/smime-encrypted-uris-service;1"
|
||||
|
||||
#define NS_SMIMEENCRYPTURISERVICE_CID \
|
||||
{ /* a0134d58-018f-4d40-a099-fa079e5024a6 */ \
|
||||
0xa0134d58, 0x018f, 0x4d40, \
|
||||
{0xa0, 0x99, 0xfa, 0x07, 0x9e, 0x50, 0x24, 0xa6 }}
|
||||
|
||||
#endif // nsMsgSMIMECID_h__
|
|
@ -60,7 +60,6 @@ endif
|
|||
EXTRA_DSO_LIBS += rdfutil_s
|
||||
|
||||
CPPSRCS = nsImapFactory.cpp
|
||||
EXPORTS = nsMsgImapCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msgimap_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -40,7 +40,7 @@ REQUIRES = xpcom \
|
|||
necko \
|
||||
appshell \
|
||||
msgdb \
|
||||
dom \
|
||||
dom \
|
||||
uconv \
|
||||
unicharutil \
|
||||
mime \
|
||||
|
@ -57,6 +57,7 @@ REQUIRES = xpcom \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgImapCID.h \
|
||||
nsIMAPBodyShell.h \
|
||||
nsIMAPGenericParser.h \
|
||||
nsIMAPHostSessionList.h \
|
||||
|
|
|
@ -0,0 +1,91 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgImapCID_h__
|
||||
#define nsMsgImapCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsMsgBaseCID.h"
|
||||
|
||||
#define NS_IMAPURL_CID \
|
||||
{ /* 21A89611-DC0D-11d2-806C-006008128C4E */ \
|
||||
0x21a89611, 0xdc0d, 0x11d2, \
|
||||
{ 0x80, 0x6c, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e }}
|
||||
|
||||
#define NS_IMAPPROTOCOLINFO_CONTRACTID \
|
||||
NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "imap"
|
||||
|
||||
#define NS_IMAPINCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "imap"
|
||||
|
||||
#define NS_IMAPSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/imapservice;1"
|
||||
|
||||
#define NS_IMAPSERVICE_CID \
|
||||
{ /* C5852B22-EBE2-11d2-95AD-000064657374 */ \
|
||||
0xc5852b22, 0xebe2, 0x11d2, \
|
||||
{0x95, 0xad, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74}}
|
||||
|
||||
#define NS_IMAPPROTOCOL_CID \
|
||||
{ /* 8C0C40D1-E173-11d2-806E-006008128C4E */ \
|
||||
0x8c0c40d1, 0xe173, 0x11d2, \
|
||||
{ 0x80, 0x6e, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e }}
|
||||
|
||||
|
||||
#define NS_IIMAPHOSTSESSIONLIST_CID \
|
||||
{ /* 479ce8fc-e725-11d2-a505-0060b0fc04b7 */ \
|
||||
0x479ce8fc, 0xe725, 0x11d2, \
|
||||
{0xa5, 0x05, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
|
||||
|
||||
#define NS_IMAPINCOMINGSERVER_CID \
|
||||
{ /* 8D3675E0-ED46-11d2-8077-006008128C4E */ \
|
||||
0x8d3675e0, 0xed46, 0x11d2, \
|
||||
{0x80, 0x77, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
|
||||
|
||||
#define NS_IMAPRESOURCE_CID \
|
||||
{ /* fa32d000-f6a0-11d2-af8d-001083002da8 */ \
|
||||
0xfa32d000, 0xf6a0, 0x11d2, \
|
||||
{ 0xaf, 0x8d, 0x00, 0x10, 0x83, 0x00, 0x2d, 0xa8 }}
|
||||
|
||||
// 4ECA51DF-6734-11d3-989A-001083010E9B
|
||||
#define NS_IMAPMOCKCHANNEL_CID \
|
||||
{0x4eca51df, 0x6734, 0x11d3, \
|
||||
{0x98, 0x9a, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b}}
|
||||
|
||||
#endif // nsMsgImapCID_h__
|
|
@ -58,7 +58,6 @@ endif
|
|||
EXTRA_DSO_LIBS += rdfutil_s
|
||||
|
||||
CPPSRCS = nsMsgLocalFactory.cpp
|
||||
EXPORTS = nsMsgLocalCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)msglocal_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -68,6 +68,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgLocalCID.h \
|
||||
nsPop3Protocol.h \
|
||||
nsPop3URL.h \
|
||||
nsPop3Sink.h \
|
||||
|
|
|
@ -0,0 +1,227 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Adam D. Moss <adam@gimp.org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgLocalCID_h__
|
||||
#define nsMsgLocalCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsMsgBaseCID.h"
|
||||
|
||||
#define NS_POP3INCOMINGSERVER_TYPE "pop3"
|
||||
|
||||
//
|
||||
// nsLocalMailFolderResourceCID
|
||||
//
|
||||
#define NS_LOCALMAILFOLDERRESOURCE_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "mailbox"
|
||||
#define NS_LOCALMAILFOLDERRESOURCE_CID \
|
||||
{ /* e490d22c-cd67-11d2-8cca-0060b0fc14a3 */ \
|
||||
0xe490d22c, \
|
||||
0xcd67, \
|
||||
0x11d2, \
|
||||
{0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsPop3IncomingServer
|
||||
//
|
||||
#define NS_POP3INCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
|
||||
|
||||
#define NS_POP3INCOMINGSERVER_CID \
|
||||
{ /* D2876E51-E62C-11d2-B7FC-00805F05FFA5 */ \
|
||||
0xd2876e51, 0xe62c, 0x11d2, \
|
||||
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
|
||||
|
||||
#ifdef HAVE_MOVEMAIL
|
||||
//
|
||||
// nsMovemailIncomingServer
|
||||
//
|
||||
#define NS_MOVEMAILINCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "movemail"
|
||||
|
||||
#define NS_MOVEMAILINCOMINGSERVER_CID \
|
||||
{ /* efbb77e4-1dd2-11b2-bbcf-961563396fec */ \
|
||||
0xefbb77e4, 0x1dd2, 0x11b2, \
|
||||
{0xbb, 0xcf, 0x96, 0x15, 0x63, 0x39, 0x6f, 0xec }}
|
||||
|
||||
#endif /* HAVE_MOVEMAIL */
|
||||
|
||||
//
|
||||
// nsNoIncomingServer
|
||||
//
|
||||
#define NS_NOINCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "none"
|
||||
|
||||
#define NS_NOINCOMINGSERVER_CID \
|
||||
{ /* {ca5ffe7e-5f47-11d3-9a51-004005263078} */ \
|
||||
0xca5ffe7e, 0x5f47, 0x11d3, \
|
||||
{0x9a, 0x51, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78}}
|
||||
|
||||
|
||||
//
|
||||
// nsMsgMailboxService
|
||||
#define NS_MAILBOXSERVICE_CONTRACTID1 \
|
||||
"@mozilla.org/messenger/mailboxservice;1"
|
||||
|
||||
#define NS_MAILBOXSERVICE_CONTRACTID2 \
|
||||
"@mozilla.org/messenger/messageservice;1?type=mailbox"
|
||||
|
||||
#define NS_MAILBOXSERVICE_CONTRACTID3 \
|
||||
"@mozilla.org/messenger/messageservice;1?type=mailbox-message"
|
||||
|
||||
#define NS_MAILBOXSERVICE_CONTRACTID4 \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "mailbox"
|
||||
|
||||
#define NS_MAILBOXSERVICE_CID \
|
||||
{ /* EEF82462-CB69-11d2-8065-006008128C4E */ \
|
||||
0xeef82462, 0xcb69, 0x11d2, \
|
||||
{0x80, 0x65, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
|
||||
|
||||
|
||||
//
|
||||
// nsMailboxUrl
|
||||
//
|
||||
#define NS_MAILBOXURL_CONTRACTID \
|
||||
"@mozilla.org/messenger/mailboxurl;1"
|
||||
|
||||
/* 46EFCB10-CB6D-11d2-8065-006008128C4E */
|
||||
#define NS_MAILBOXURL_CID \
|
||||
{ 0x46efcb10, 0xcb6d, 0x11d2, \
|
||||
{ 0x80, 0x65, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
|
||||
|
||||
|
||||
//
|
||||
// nsPop3Url
|
||||
//
|
||||
#define NS_POP3URL_CONTRACTID \
|
||||
"@mozilla.org/messenger/popurl;1"
|
||||
|
||||
/* EA1B0A11-E6F4-11d2-8070-006008128C4E */
|
||||
#define NS_POP3URL_CID \
|
||||
{ 0xea1b0a11, 0xe6f4, 0x11d2, \
|
||||
{ 0x80, 0x70, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
|
||||
|
||||
|
||||
//
|
||||
// nsPop3Service
|
||||
//
|
||||
|
||||
#define NS_POP3SERVICE_CONTRACTID1 \
|
||||
"@mozilla.org/messenger/popservice;1"
|
||||
|
||||
#define NS_POP3SERVICE_CONTRACTID2 \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "pop"
|
||||
|
||||
#define NS_POP3PROTOCOLINFO_CONTRACTID \
|
||||
NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
|
||||
|
||||
#define NS_POP3SERVICE_CID \
|
||||
{ /* 3BB459E3-D746-11d2-806A-006008128C4E */ \
|
||||
0x3bb459e3, 0xd746, 0x11d2, \
|
||||
{ 0x80, 0x6a, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e }}
|
||||
|
||||
//
|
||||
// nsNoneService
|
||||
//
|
||||
|
||||
#define NS_NONESERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/noneservice;1"
|
||||
|
||||
#define NS_NONEPROTOCOLINFO_CONTRACTID \
|
||||
NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "none"
|
||||
|
||||
#define NS_NONESERVICE_CID \
|
||||
{ /* 75b63b46-1dd2-11b2-9873-bb375e1550fa */ \
|
||||
0x75b63b46, 0x1dd2, 0x11b2, \
|
||||
{ 0x98, 0x73, 0xbb, 0x37, 0x5e, 0x15, 0x50, 0xfa }}
|
||||
|
||||
#ifdef HAVE_MOVEMAIL
|
||||
//
|
||||
// nsMovemailService
|
||||
//
|
||||
|
||||
#define NS_MOVEMAILSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/movemailservice;1"
|
||||
|
||||
#define NS_MOVEMAILPROTOCOLINFO_CONTRACTID \
|
||||
NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "movemail"
|
||||
|
||||
#define NS_MOVEMAILSERVICE_CID \
|
||||
{ /* 0e4db62e-1dd2-11b2-a5e4-f128fe4f1b69 */ \
|
||||
0x0e4db62e, 0x1dd2, 0x11b2, \
|
||||
{ 0xa5, 0xe4, 0xf1, 0x28, 0xfe, 0x4f, 0x1b, 0x69 }}
|
||||
#endif /* HAVE_MOVEMAIL */
|
||||
|
||||
//
|
||||
// nsParseMailMsgState
|
||||
//
|
||||
#define NS_PARSEMAILMSGSTATE_CONTRACTID \
|
||||
"@mozilla.org/messenger/messagestateparser;1"
|
||||
|
||||
#define NS_PARSEMAILMSGSTATE_CID \
|
||||
{ /* 2B79AC51-1459-11d3-8097-006008128C4E */ \
|
||||
0x2b79ac51, 0x1459, 0x11d3, \
|
||||
{0x80, 0x97, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e} }
|
||||
|
||||
//
|
||||
// nsMsgMailboxParser
|
||||
//
|
||||
|
||||
#define NS_MAILBOXPARSER_CONTRACTID \
|
||||
"@mozilla.org/messenger/mailboxparser;1"
|
||||
|
||||
/* 46EFCB10-CB6D-11d2-8065-006008128C4E */
|
||||
#define NS_MAILBOXPARSER_CID \
|
||||
{ 0x8597ab60, 0xd4e2, 0x11d2, \
|
||||
{ 0x80, 0x69, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
|
||||
|
||||
/* 15263446-D55E-11d3-98B1-001083010E9B */
|
||||
#define NS_MSG_LOCALSTRINGSERVICE_CID \
|
||||
{ 0x15263446, 0xd55e, 0x11d3, \
|
||||
{ 0x98, 0xb1, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
|
||||
|
||||
#define NS_MSG_MAILBOXSTRINGSERVICE_CONTRACTID \
|
||||
NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "mailbox"
|
||||
|
||||
#define NS_MSG_POPSTRINGSERVICE_CONTRACTID \
|
||||
NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
|
||||
|
||||
#endif // nsMsgLocalCID_h__
|
|
@ -48,7 +48,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsMimeModule.cpp
|
||||
EXPORTS = nsMsgMimeCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)mime_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -51,7 +51,6 @@ EXTRA_DSO_LIBS = msgbaseutil
|
|||
endif
|
||||
|
||||
CPPSRCS = nsEmitterFactory.cpp
|
||||
EXPORTS = nsMimeEmitterCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
$(DIST)/lib/$(LIB_PREFIX)emitterutil_s.$(LIB_SUFFIX) \
|
||||
|
|
|
@ -48,6 +48,7 @@ REQUIRES = xpcom \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMimeEmitterCID.h \
|
||||
nsEmitterUtils.h \
|
||||
nsMimeRebuffer.h \
|
||||
nsMimeHtmlEmitter.h \
|
||||
|
|
|
@ -0,0 +1,83 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMimeEmitterCID_h__
|
||||
#define nsMimeEmitterCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
#define NS_MIME_EMITTER_CONTRACTID_PREFIX \
|
||||
"@mozilla.org/messenger/mimeemitter;1?type="
|
||||
|
||||
#define NS_HTML_MIME_EMITTER_CONTRACTID \
|
||||
NS_MIME_EMITTER_CONTRACTID_PREFIX "text/html"
|
||||
// {F0A8AF16-DCCE-11d2-A411-00805F613C79}
|
||||
#define NS_HTML_MIME_EMITTER_CID \
|
||||
{ 0xf0a8af16, 0xdcce, 0x11d2, \
|
||||
{ 0xa4, 0x11, 0x0, 0x80, 0x5f, 0x61, 0x3c, 0x79 } }
|
||||
|
||||
#define NS_XML_MIME_EMITTER_CONTRACTID \
|
||||
NS_MIME_EMITTER_CONTRACTID_PREFIX "text/xml"
|
||||
// {977E418F-E392-11d2-A2AC-00A024A7D144}
|
||||
#define NS_XML_MIME_EMITTER_CID \
|
||||
{ 0x977e418f, 0xe392, 0x11d2, \
|
||||
{ 0xa2, 0xac, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 } }
|
||||
|
||||
#define NS_RAW_MIME_EMITTER_CONTRACTID \
|
||||
NS_MIME_EMITTER_CONTRACTID_PREFIX "raw"
|
||||
// {F0A8AF16-DCFF-11d2-A411-00805F613C79}
|
||||
#define NS_RAW_MIME_EMITTER_CID \
|
||||
{ 0xf0a8af16, 0xdcff, 0x11d2, \
|
||||
{ 0xa4, 0x11, 0x0, 0x80, 0x5f, 0x61, 0x3c, 0x79 } }
|
||||
|
||||
#define NS_XUL_MIME_EMITTER_CONTRACTID \
|
||||
NS_MIME_EMITTER_CONTRACTID_PREFIX "application/vnd.mozilla.xul+xml"
|
||||
// {FAA8AF16-DCFF-11d2-A411-00805F613C19}
|
||||
#define NS_XUL_MIME_EMITTER_CID \
|
||||
{ 0xfaa8af16, 0xdcff, 0x11d2, \
|
||||
{ 0xa4, 0x11, 0x0, 0x80, 0x5f, 0x61, 0x3c, 0x19 } }
|
||||
|
||||
#define NS_PLAIN_MIME_EMITTER_CONTRACTID \
|
||||
NS_MIME_EMITTER_CONTRACTID_PREFIX "text/plain"
|
||||
// {E8892265-7653-46c5-A290-307F3404D0F3}
|
||||
#define NS_PLAIN_MIME_EMITTER_CID \
|
||||
{ 0xe8892265, 0x7653, 0x46c5, \
|
||||
{ 0xa2, 0x90, 0x30, 0x7f, 0x34, 0x4, 0xd0, 0xf3 } }
|
||||
|
||||
#endif // nsMimeEmitterCID_h__
|
|
@ -125,6 +125,7 @@ CPPSRCS += \
|
|||
endif
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgMimeCID.h \
|
||||
nsMimeObjectClassAccess.h \
|
||||
nsMimeStringResources.h \
|
||||
nsMimeConverter.h \
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMessageMimeCID_h__
|
||||
#define nsMessageMimeCID_h__
|
||||
|
||||
#define NS_MAILNEWS_MIME_STREAM_CONVERTER_CONTRACTID \
|
||||
NS_ISTREAMCONVERTER_KEY "?from=message/rfc822&to=application/vnd.mozilla.xul+xml"
|
||||
|
||||
#define NS_MAILNEWS_MIME_STREAM_CONVERTER_CONTRACTID1 \
|
||||
NS_ISTREAMCONVERTER_KEY "?from=message/rfc822&to=text/html"
|
||||
|
||||
#define NS_MAILNEWS_MIME_STREAM_CONVERTER_CONTRACTID2 \
|
||||
NS_ISTREAMCONVERTER_KEY "?from=message/rfc822&to=*/*"
|
||||
|
||||
#define NS_MAILNEWS_MIME_STREAM_CONVERTER_CID \
|
||||
{ /* FAF4F9A6-60AD-11d3-989A-001083010E9B */ \
|
||||
0xfaf4f9a6, 0x60ad, 0x11d3, { 0x98, 0x9a, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
|
||||
|
||||
#define NS_MIME_CONVERTER_CONTRACTID \
|
||||
"@mozilla.org/messenger/mimeconverter;1"
|
||||
|
||||
// {866A1E11-D0B9-11d2-B373-525400E2D63A}
|
||||
#define NS_MIME_CONVERTER_CID \
|
||||
{ 0x866a1e11, 0xd0b9, 0x11d2, \
|
||||
{ 0xb3, 0x73, 0x52, 0x54, 0x0, 0xe2, 0xd6, 0x3a } }
|
||||
|
||||
// {403B0540-B7C3-11d2-B35E-525400E2D63A}
|
||||
#define NS_MIME_OBJECT_CLASS_ACCESS_CID \
|
||||
{ 0x403b0540, 0xb7c3, 0x11d2, \
|
||||
{ 0xb3, 0x5e, 0x52, 0x54, 0x0, 0xe2, 0xd6, 0x3a } }
|
||||
|
||||
// {932C53A5-F398-11d2-82B7-444553540002}
|
||||
#define NS_MSGHEADERPARSER_CID \
|
||||
{ 0x932c53a5, 0xf398, 0x11d2, \
|
||||
{ 0x82, 0xb7, 0x44, 0x45, 0x53, 0x54, 0x0, 0x2 } }
|
||||
|
||||
#endif // nsMessageMimeCID_h__
|
|
@ -53,7 +53,6 @@ REQUIRES = xpcom \
|
|||
$(NULL)
|
||||
|
||||
CPPSRCS = nsMsgNewsFactory.cpp
|
||||
EXPORTS = nsMsgNewsCID.h
|
||||
|
||||
SHARED_LIBRARY_LIBS = $(DIST)/lib/$(LIB_PREFIX)msgnews_s.$(LIB_SUFFIX)
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ CPPSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
nsMsgNewsCID.h \
|
||||
nsNNTPProtocol.h \
|
||||
nsNntpUrl.h \
|
||||
nsNNTPArticleList.h \
|
||||
|
|
|
@ -0,0 +1,149 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsMsgNewsCID_h__
|
||||
#define nsMsgNewsCID_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsMsgBaseCID.h"
|
||||
|
||||
//
|
||||
// nsMsgNewsFolder
|
||||
#define NS_NEWSFOLDERRESOURCE_CONTRACTID \
|
||||
NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "news"
|
||||
#define NS_NEWSFOLDERRESOURCE_CID \
|
||||
{ /* 4ace448a-f6d4-11d2-880d-004005263078 */ \
|
||||
0x4ace448a, 0xf6d4, 0x11d2, \
|
||||
{0x88, 0x0d, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNntpIncomingServer
|
||||
//
|
||||
#define NS_NNTPINCOMINGSERVER_CONTRACTID \
|
||||
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "nntp"
|
||||
|
||||
#define NS_NNTPINCOMINGSERVER_CID \
|
||||
{ /* 6ff28d0a-f776-11d2-87ca-004005263078 */ \
|
||||
0x6ff28d0a, 0xf776, 0x11d2, \
|
||||
{0x87, 0xca, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNntpService
|
||||
//
|
||||
|
||||
#define NS_NNTPPROTOCOLINFO_CONTRACTID \
|
||||
NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "nntp"
|
||||
|
||||
#define NS_NEWSPROTOCOLHANDLER_CONTRACTID \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "news"
|
||||
#define NS_SNEWSPROTOCOLHANDLER_CONTRACTID \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "snews"
|
||||
#define NS_NNTPPROTOCOLHANDLER_CONTRACTID \
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "nntp"
|
||||
#define NS_NEWSMESSAGESERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/messageservice;1?type=news-message"
|
||||
#define NS_NNTPMESSAGESERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/messageservice;1?type=news"
|
||||
#define NS_NNTPSERVICE_CONTRACTID \
|
||||
"@mozilla.org/messenger/nntpservice;1"
|
||||
#define NS_NEWSSTARTUPHANDLER_CONTRACTID \
|
||||
"@mozilla.org/commandlinehandler/general-startup;1?type=news"
|
||||
|
||||
#define NS_NNTPSERVICE_CID \
|
||||
{ /* 4C9F90E1-E19B-11d2-806E-006008128C4E */ \
|
||||
0x4c9f90e1, 0xe19b, 0x11d2, \
|
||||
{0x80, 0x6e, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNNTPNewsgroupPost
|
||||
//
|
||||
#define NS_NNTPNEWSGROUPPOST_CONTRACTID \
|
||||
"@mozilla.org/messenger/nntpnewsgrouppost;1"
|
||||
#define NS_NNTPNEWSGROUPPOST_CID \
|
||||
{ /* 30c60228-187e-11d3-842f-004005263078 */ \
|
||||
0x30c60228, 0x187e, 0x11d3, \
|
||||
{0x84, 0x2f, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNNTPNewsgroupList
|
||||
//
|
||||
#define NS_NNTPNEWSGROUPLIST_CONTRACTID \
|
||||
"@mozilla.org/messenger/nntpnewsgrouplist;1"
|
||||
#define NS_NNTPNEWSGROUPLIST_CID \
|
||||
{ /* 631e9054-1893-11d3-9916-004005263078 */ \
|
||||
0x631e9054, 0x1893, 0x11d3, \
|
||||
{0x99, 0x16, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNNTPArticleList
|
||||
//
|
||||
#define NS_NNTPARTICLELIST_CONTRACTID \
|
||||
"@mozilla.org/messenger/nntparticlelist;1"
|
||||
#define NS_NNTPARTICLELIST_CID \
|
||||
{ /* 9f12bdf0-189f-11d3-973e-00805f916fd3 */ \
|
||||
0x9f12bdf0, 0x189f, 0x11d3, \
|
||||
{0x97, 0x3e, 0x00, 0x80, 0x5f, 0x91, 0x6f, 0xd3} \
|
||||
}
|
||||
|
||||
//
|
||||
// nsNntpUrl
|
||||
//
|
||||
#define NS_NNTPURL_CONTRACTID \
|
||||
"@mozilla.org/messenger/nntpurl;1"
|
||||
#define NS_NNTPURL_CID \
|
||||
{ /* 196B4B30-E18C-11d2-806E-006008128C4E */ \
|
||||
0x196b4b30, 0xe18c, 0x11d2, \
|
||||
{ 0x80, 0x6e, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
|
||||
|
||||
//
|
||||
// nsNewsDownloadDialogArgs
|
||||
//
|
||||
#define NS_NEWSDOWNLOADDIALOGARGS_CONTRACTID \
|
||||
"@mozilla.org/messenger/newsdownloaddialogargs;1"
|
||||
#define NS_NEWSDOWNLOADDIALOGARGS_CID \
|
||||
{ /* 1540689e-1dd2-11b2-933d-f0d1e460ef4a */ \
|
||||
0x1540689e, 0x1dd2, 0x11b2, \
|
||||
{ 0x93, 0x3d, 0xf0, 0xd1, 0xe4, 0x60, 0xef, 0x4a} }
|
||||
|
||||
#endif // nsMsgNewsCID_h__
|
Загрузка…
Ссылка в новой задаче