зеркало из https://github.com/mozilla/pjs.git
292 строки
8.7 KiB
C
292 строки
8.7 KiB
C
/* -*- 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 } }
|
|
|
|
|
|
#endif // nsMessageCompCID_h__
|