Back to index

lightning-sunbird  0.9+nobinonly
nsMsgCompCID.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #ifndef nsMessageCompCID_h__
00039 #define nsMessageCompCID_h__
00040 
00041 #include "nsISupports.h"
00042 #include "nsIFactory.h"
00043 #include "nsIComponentManager.h"
00044 
00045 //
00046 // nsMsgComposeService
00047 //
00048 #define NS_MSGCOMPOSESERVICE_CID          \
00049 { /* 588595FE-1ADA-11d3-A715-0060B0EB39B5 */      \
00050  0x588595fe, 0x1ada, 0x11d3,                      \
00051  {0xa7, 0x15, 0x0, 0x60, 0xb0, 0xeb, 0x39, 0xb5}}
00052 
00053 #define NS_MSGCOMPOSESERVICE_CONTRACTID     \
00054   "@mozilla.org/messengercompose;1"
00055 #define NS_MSGCOMPOSESTARTUPHANDLER_CONTRACTID \
00056   "@mozilla.org/commandlinehandler/general-startup;1?type=compose"
00057 
00058 //
00059 // nsMsgComposeContentHandler
00060 //
00061 #define NS_MSGCOMPOSECONTENTHANDLER_CID         \
00062 { /* 0B63FB80-BBBA-11D4-9DAA-91B657EB313C */    \
00063 0x0b63fb80, 0xbbba, 0x11d4,                     \
00064  {0x9d, 0xaa, 0x91, 0xb6, 0x57, 0xeb, 0x31, 0x3c}}
00065 
00066 #define NS_MSGCOMPOSECONTENTHANDLER_CONTRACTID  \
00067   NS_CONTENT_HANDLER_CONTRACTID_PREFIX"application/x-mailto"
00068 
00069 //
00070 // nsMsgCompose
00071 //
00072 #define NS_MSGCOMPOSE_CONTRACTID \
00073   "@mozilla.org/messengercompose/compose;1"
00074 
00075 #define NS_MSGCOMPOSE_CID             \
00076 { /* EB5BDAF8-BBC6-11d2-A6EC-0060B0EB39B5 */      \
00077  0xeb5bdaf8, 0xbbc6, 0x11d2,                      \
00078  {0xa6, 0xec, 0x0, 0x60, 0xb0, 0xeb, 0x39, 0xb5}}
00079 
00080 //
00081 // nsMsgComposeSecure
00082 //
00083 #define NS_MSGCOMPOSESECURE_CONTRACTID \
00084   "@mozilla.org/messengercompose/composesecure;1"
00085 
00086 //
00087 // nsMsgComposeParams
00088 //
00089 #define NS_MSGCOMPOSEPARAMS_CONTRACTID \
00090   "@mozilla.org/messengercompose/composeparams;1"
00091 
00092 #define NS_MSGCOMPOSEPARAMS_CID             \
00093 { /* CB998A00-C079-11D4-9DAA-8DF64BAB2EFC */      \
00094  0xcb998a00, 0xc079, 0x11d4,                      \
00095  {0x9d, 0xaa, 0x8d, 0xf6, 0x4b, 0xab, 0x2e, 0xfc}}
00096 
00097 //
00098 // nsMsgComposeSendListener
00099 //
00100 #define NS_MSGCOMPOSESENDLISTENER_CONTRACTID \
00101   "@mozilla.org/messengercompose/composesendlistener;1"
00102 
00103 #define NS_MSGCOMPOSESENDLISTENER_CID             \
00104 { /* acc72781-2cea-11d5-9daa-bacdeac1eefc */      \
00105  0xacc72781, 0x2cea, 0x11d5,                      \
00106  {0x9d, 0xaa, 0xba, 0xcd, 0xea, 0xc1, 0xee, 0xfc}}
00107 
00108 //
00109 // nsMsgComposeProgressParams
00110 //
00111 #define NS_MSGCOMPOSEPROGRESSPARAMS_CONTRACTID \
00112   "@mozilla.org/messengercompose/composeprogressparameters;1"
00113 
00114 #define NS_MSGCOMPOSEPROGRESSPARAMS_CID             \
00115 { /* 1e0e7c01-3e4c-11d5-9daa-f88d288130fc */      \
00116  0x1e0e7c01, 0x3e4c, 0x11d5,                      \
00117  {0x9d, 0xaa, 0xf8, 0x8d, 0x28, 0x81, 0x30, 0xfc}}
00118 
00119 //
00120 // nsMsgCompFields
00121 //
00122 #define NS_MSGCOMPFIELDS_CONTRACTID \
00123   "@mozilla.org/messengercompose/composefields;1"
00124 
00125 #define NS_MSGCOMPFIELDS_CID                    \
00126 { /* 6D222BA0-BD46-11d2-8293-000000000000 */      \
00127  0x6d222ba0, 0xbd46, 0x11d2,                      \
00128  {0x82, 0x93, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
00129 
00130 //
00131 // nsMsgAttachment
00132 //
00133 #define NS_MSGATTACHMENT_CONTRACTID \
00134   "@mozilla.org/messengercompose/attachment;1"
00135 
00136 #define NS_MSGATTACHMENT_CID                    \
00137 { /* 27B8D045-8D9F-4fa8-BFB6-8A0F8D09CE89 */    \
00138  0x27b8d045, 0x8d9f, 0x4fa8,                    \
00139  {0xbf, 0xb6, 0x8a, 0xf, 0x8d, 0x9, 0xce, 0x89}}
00140 
00141 //
00142 // nsMsgSend
00143 //
00144 #define NS_MSGSEND_CONTRACTID \
00145   "@mozilla.org/messengercompose/send;1"
00146 
00147 #define NS_MSGSEND_CID                \
00148 { /* 935284E0-C5D8-11d2-8297-000000000000 */      \
00149  0x935284e0, 0xc5d8, 0x11d2,                      \
00150  {0x82, 0x97, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
00151 
00152 //
00153 // nsMsgSendLater
00154 //
00155 #define NS_MSGSENDLATER_CONTRACTID                            \
00156   "@mozilla.org/messengercompose/sendlater;1"
00157 
00158 #define NS_MSGSENDLATER_CID                           \
00159 { /* E15C83F1-1CF4-11d3-8EF0-00A024A7D144 */      \
00160  0xe15c83f1, 0x1cf4, 0x11d3,                      \
00161  {0x8e, 0xf0, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 }}
00162 
00163 //
00164 // nsSmtpUrl
00165 //
00166 #define NS_SMTPURL_CONTRACTID \
00167   "@mozilla.org/messengercompose/smtpurl;1"
00168 
00169 #define NS_SMTPURL_CID                            \
00170 { /* BE59DBF0-2812-11d3-80A3-006008128C4E} */      \
00171  0xbe59dbf0, 0x2812, 0x11d3,                      \
00172  {0x80, 0xa3, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
00173 
00174 //
00175 // nsMailtoUrl
00176 //
00177 #define NS_MAILTOURL_CONTRACTID \
00178   "@mozilla.org/messengercompose/mailtourl;1"
00179 
00180 #define NS_MAILTOURL_CID                            \
00181 { /* 05BAB5E7-9C7D-11d3-98A3-001083010E9B} */       \
00182  0x5bab5e7, 0x9c7d, 0x11d3,                         \
00183  {0x98, 0xa3, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b}}
00184 
00185 //
00186 // nsSmtpServer
00187 //
00188 #define NS_SMTPSERVER_CONTRACTID \
00189   "@mozilla.org/messenger/smtp/server;1"
00190 
00191 #define NS_SMTPSERVER_CID                      \
00192 { /* 60dc861a-56ce-11d3-9118-00a0c900d445 */   \
00193   0x60dc861a,0x56ce,0x11d3,                   \
00194   {0x91,0x18, 0x0, 0xa0, 0xc9, 0x0, 0xd4, 0x45 }}
00195 
00196 //
00197 // nsSmtpService
00198 //
00199 #define NS_SMTPSERVICE_CONTRACTID \
00200   "@mozilla.org/messengercompose/smtp;1"
00201 
00202 #define NS_MAILTOHANDLER_CONTRACTID \
00203   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "mailto"
00204 
00205 #define NS_SMTPSERVICE_CID              \
00206 { /* 5B6419F1-CA9B-11d2-8063-006008128C4E */      \
00207  0x5b6419f1, 0xca9b, 0x11d2,                      \
00208  {0x80, 0x63, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
00209 
00210 //
00211 // nsMsgQuote
00212 //
00213 #define NS_MSGQUOTE_CONTRACTID \
00214   "@mozilla.org/messengercompose/quoting;1"
00215 #define NS_MSGQUOTE_CID \
00216   {0x1C7ABF0C, 0x21E5, 0x11d3, \
00217     { 0x8E, 0xF1, 0x00, 0xA0, 0x24, 0xA7, 0xD1, 0x44 }}
00218 
00219 #define NS_MSGQUOTELISTENER_CONTRACTID \
00220   "@mozilla.org/messengercompose/quotinglistener;1"
00221 #define NS_MSGQUOTELISTENER_CID \
00222   {0x683728ac, 0x88df, 0x11d3, \
00223     { 0x98, 0x9d, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b }}
00224 
00225 //
00226 // nsMsgDraft
00227 //
00228 #define NS_MSGDRAFT_CONTRACTID \
00229   "@mozilla.org/messengercompose/drafts;1"
00230 #define NS_MSGDRAFT_CID \
00231   { 0xa623746c, 0x453b, 0x11d3, \
00232   { 0x8f, 0xf, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 } }
00233 
00234 //
00235 // nsMsgRecipientArray
00236 //
00237 #define NS_MSGRECIPIENTARRAY_CONTRACTID \
00238   "@mozilla.org/messengercompose/recipientarray;1"
00239 #define NS_MSGRECIPIENTARRAY_CID \
00240   {0x9d653e00, 0xa1ca, 0x11d3, \
00241     { 0xa4, 0x49, 0xf7, 0x9a, 0xb1, 0xc7, 0xd8, 0xfc }}
00242 
00243 
00244 // compose string service routines 
00245 
00246 /* B51E56BD-FF80-11d3-98BC-001083010E9B */
00247 #define NS_MSG_COMPOSESTRINGSERVICE_CID          \
00248 { 0xb51e56bd, 0xff80, 0x11d3,                  \
00249     { 0x98, 0xbc, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
00250 
00251 #define NS_MSG_SMTPSTRINGSERVICE_CONTRACTID \
00252   NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "smtp"
00253 
00254 #define NS_MSG_COMPOSESTRINGSERVICE_CONTRACTID \
00255   NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "compose"
00256 
00257 //
00258 // nsSmtpDataSource
00259 //
00260 #define NS_SMTPDATASOURCE_CONTRACTID \
00261   NS_RDF_DATASOURCE_CONTRACTID_PREFIX "smtp"
00262 
00263 // {0C612140-25FE-11d4-9A27-0010A4E03656}
00264 #define NS_SMTPDATASOURCE_CID \
00265 { 0xc612140, 0x25fe, 0x11d4, \
00266  { 0x9a, 0x27, 0x0, 0x10, 0xa4, 0xe0, 0x36, 0x56 } }
00267 
00268 //
00269 // nsSmtpDelegateFactory
00270 //
00271 #define NS_SMTPDELEGATEFACTORY_CONTRACTID \
00272   NS_RDF_DELEGATEFACTORY_CONTRACTID_PREFIX "smtpserver" "&scheme=smtp"
00273 
00274 // {0C612141-25FE-11d4-9A27-0010A4E03656}
00275 #define NS_SMTPDELEGATEFACTORY_CID \
00276 { 0xc612141, 0x25fe, 0x11d4, \
00277  { 0x9a, 0x27, 0x0, 0x10, 0xa4, 0xe0, 0x36, 0x56 } }
00278 
00279 //
00280 // nsURLFetcher
00281 //
00282 #define NS_URLFETCHER_CONTRACTID  \
00283   "@mozilla.org/messengercompose/urlfetcher;1"
00284 
00285 // {01B8A701-2F52-11D5-9DAA-F78DA781A1FC}
00286 #define NS_URLFETCHER_CID \
00287 { 0x01b8a701, 0x2f52, 0x11d5, \
00288  { 0x9d, 0xaa, 0xf7, 0x8d, 0xa7, 0x81, 0xa1, 0xfc } }
00289 
00290 //
00291 // nsMsgCompUtils
00292 //
00293 #define NS_MSGCOMPUTILS_CONTRACTID  \
00294   "@mozilla.org/messengercompose/computils;1"
00295 
00296 // {ceb0dca2-5e7d-4204-94d4-2ab925921fae}
00297 #define NS_MSGCOMPUTILS_CID \
00298 { 0xceb0dca2, 0x5e7d, 0x4204, \
00299   { 0x94, 0xd4, 0x2a, 0xb9, 0x25, 0x92, 0x1f, 0xae } }
00300 
00301 
00302 #endif // nsMessageCompCID_h__