mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
437f13b03e
feature contributed by our friend jt95070@netscape.net (Jeff Tsai) r=sspitzer,sr=bienvenu,a=asa. Parts not written by jefft, r=jefft,sr=bienvenu.
73 lines
3.0 KiB
C
73 lines
3.0 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 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__
|