Back to index

lightning-sunbird  0.9+nobinonly
nsMsgLocalCID.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  *   Adam D. Moss <adam@gimp.org>
00024  *
00025  * Alternatively, the contents of this file may be used under the terms of
00026  * either of the GNU General Public License Version 2 or later (the "GPL"),
00027  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00028  * in which case the provisions of the GPL or the LGPL are applicable instead
00029  * of those above. If you wish to allow use of your version of this file only
00030  * under the terms of either the GPL or the LGPL, and not to allow others to
00031  * use your version of this file under the terms of the MPL, indicate your
00032  * decision by deleting the provisions above and replace them with the notice
00033  * and other provisions required by the GPL or the LGPL. If you do not delete
00034  * the provisions above, a recipient may use your version of this file under
00035  * the terms of any one of the MPL, the GPL or the LGPL.
00036  *
00037  * ***** END LICENSE BLOCK ***** */
00038 
00039 #ifndef nsMsgLocalCID_h__
00040 #define nsMsgLocalCID_h__
00041 
00042 #include "nsISupports.h"
00043 #include "nsIFactory.h"
00044 #include "nsIComponentManager.h"
00045 #include "nsMsgBaseCID.h"
00046 
00047 #define NS_POP3INCOMINGSERVER_TYPE "pop3"
00048 
00049 //
00050 // nsLocalMailFolderResourceCID
00051 //
00052 #define NS_LOCALMAILFOLDERRESOURCE_CONTRACTID \
00053   NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "mailbox"
00054 #define  NS_LOCALMAILFOLDERRESOURCE_CID              \
00055 { /* e490d22c-cd67-11d2-8cca-0060b0fc14a3 */         \
00056        0xe490d22c,                                                                   \
00057     0xcd67,                                          \
00058     0x11d2,                                          \
00059     {0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
00060 }
00061 
00062 //
00063 // nsPop3IncomingServer
00064 //
00065 #define NS_POP3INCOMINGSERVER_CONTRACTID \
00066   NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
00067 
00068 #define NS_POP3INCOMINGSERVER_CID                                                          \
00069 { /* D2876E51-E62C-11d2-B7FC-00805F05FFA5 */                   \
00070  0xd2876e51, 0xe62c, 0x11d2,                                                                             \
00071  {0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
00072 
00073 #ifdef HAVE_MOVEMAIL
00074 //
00075 // nsMovemailIncomingServer
00076 //
00077 #define NS_MOVEMAILINCOMINGSERVER_CONTRACTID \
00078   NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "movemail"
00079 
00080 #define NS_MOVEMAILINCOMINGSERVER_CID                                                             \
00081 { /* efbb77e4-1dd2-11b2-bbcf-961563396fec */                   \
00082  0xefbb77e4, 0x1dd2, 0x11b2,                                                                             \
00083  {0xbb, 0xcf, 0x96, 0x15, 0x63, 0x39, 0x6f, 0xec }}
00084 
00085 #endif /* HAVE_MOVEMAIL */
00086 
00087 //
00088 // nsNoIncomingServer
00089 //
00090 #define NS_NOINCOMINGSERVER_CONTRACTID \
00091   NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "none"
00092 
00093 #define NS_NOINCOMINGSERVER_CID                  \
00094 { /* {ca5ffe7e-5f47-11d3-9a51-004005263078} */   \
00095   0xca5ffe7e, 0x5f47, 0x11d3,                    \
00096   {0x9a, 0x51, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78}}
00097 
00098 
00099 //
00100 // nsMsgMailboxService
00101 #define NS_MAILBOXSERVICE_CONTRACTID1     \
00102   "@mozilla.org/messenger/mailboxservice;1"
00103 
00104 #define NS_MAILBOXSERVICE_CONTRACTID2 \
00105   "@mozilla.org/messenger/messageservice;1?type=mailbox"
00106 
00107 #define NS_MAILBOXSERVICE_CONTRACTID3 \
00108   "@mozilla.org/messenger/messageservice;1?type=mailbox-message"
00109 
00110 #define NS_MAILBOXSERVICE_CONTRACTID4 \
00111   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "mailbox"
00112 
00113 #define NS_MAILBOXSERVICE_CID                         \
00114 { /* EEF82462-CB69-11d2-8065-006008128C4E */      \
00115  0xeef82462, 0xcb69, 0x11d2,                      \
00116  {0x80, 0x65, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}}
00117 
00118 
00119 //
00120 // nsMailboxUrl
00121 //
00122 #define NS_MAILBOXURL_CONTRACTID   \
00123   "@mozilla.org/messenger/mailboxurl;1"
00124 
00125 /* 46EFCB10-CB6D-11d2-8065-006008128C4E */
00126 #define NS_MAILBOXURL_CID                      \
00127 { 0x46efcb10, 0xcb6d, 0x11d2,                  \
00128     { 0x80, 0x65, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
00129 
00130 
00131 //
00132 // nsPop3Url
00133 //
00134 #define NS_POP3URL_CONTRACTID \
00135   "@mozilla.org/messenger/popurl;1"
00136 
00137 /* EA1B0A11-E6F4-11d2-8070-006008128C4E */
00138 #define NS_POP3URL_CID                         \
00139 { 0xea1b0a11, 0xe6f4, 0x11d2,                   \
00140     { 0x80, 0x70, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
00141 
00142 
00143 //
00144 // nsPop3Service
00145 //
00146 
00147 #define NS_POP3SERVICE_CONTRACTID1 \
00148   "@mozilla.org/messenger/popservice;1"
00149 
00150 #define NS_POP3SERVICE_CONTRACTID2 \
00151   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "pop"
00152 
00153 #define NS_POP3PROTOCOLINFO_CONTRACTID \
00154   NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
00155 
00156 #define NS_POP3SERVICE_CID                                                   \
00157 { /* 3BB459E3-D746-11d2-806A-006008128C4E */                   \
00158  0x3bb459e3, 0xd746, 0x11d2,                                                 \
00159   { 0x80, 0x6a, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e }}
00160 
00161 //
00162 // nsNoneService
00163 //
00164 
00165 #define NS_NONESERVICE_CONTRACTID \
00166   "@mozilla.org/messenger/noneservice;1"
00167 
00168 #define NS_NONEPROTOCOLINFO_CONTRACTID \
00169   NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "none"
00170 
00171 #define NS_NONESERVICE_CID                                                   \
00172 { /* 75b63b46-1dd2-11b2-9873-bb375e1550fa */                   \
00173  0x75b63b46, 0x1dd2, 0x11b2,                                                 \
00174  { 0x98, 0x73, 0xbb, 0x37, 0x5e, 0x15, 0x50, 0xfa }}
00175 
00176 #ifdef HAVE_MOVEMAIL
00177 //
00178 // nsMovemailService
00179 //
00180 
00181 #define NS_MOVEMAILSERVICE_CONTRACTID \
00182   "@mozilla.org/messenger/movemailservice;1"
00183 
00184 #define NS_MOVEMAILPROTOCOLINFO_CONTRACTID \
00185   NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "movemail"
00186 
00187 #define NS_MOVEMAILSERVICE_CID                                                      \
00188 { /* 0e4db62e-1dd2-11b2-a5e4-f128fe4f1b69 */                   \
00189  0x0e4db62e, 0x1dd2, 0x11b2,                                                 \
00190  { 0xa5, 0xe4, 0xf1, 0x28, 0xfe, 0x4f, 0x1b, 0x69 }}
00191 #endif /* HAVE_MOVEMAIL */
00192 
00193 //
00194 // nsParseMailMsgState
00195 //
00196 #define NS_PARSEMAILMSGSTATE_CONTRACTID \
00197   "@mozilla.org/messenger/messagestateparser;1"
00198 
00199 #define NS_PARSEMAILMSGSTATE_CID \
00200 { /* 2B79AC51-1459-11d3-8097-006008128C4E */ \
00201  0x2b79ac51, 0x1459, 0x11d3, \
00202   {0x80, 0x97, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e} }
00203 
00204 //
00205 // nsMsgMailboxParser
00206 //
00207 
00208 #define NS_MAILBOXPARSER_CONTRACTID \
00209   "@mozilla.org/messenger/mailboxparser;1"
00210 
00211 /* 46EFCB10-CB6D-11d2-8065-006008128C4E */
00212 #define NS_MAILBOXPARSER_CID                      \
00213 { 0x8597ab60, 0xd4e2, 0x11d2,                  \
00214     { 0x80, 0x69, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
00215 
00216 /* 15263446-D55E-11d3-98B1-001083010E9B */
00217 #define NS_MSG_LOCALSTRINGSERVICE_CID          \
00218 { 0x15263446, 0xd55e, 0x11d3,                  \
00219     { 0x98, 0xb1, 0x0, 0x10, 0x83, 0x1, 0xe, 0x9b } }
00220 
00221 #define NS_MSG_MAILBOXSTRINGSERVICE_CONTRACTID \
00222   NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX "mailbox"
00223 
00224 #define NS_MSG_POPSTRINGSERVICE_CONTRACTID \
00225   NS_MAILNEWS_STRINGSERVICE_CONTRACTID_PREFIX NS_POP3INCOMINGSERVER_TYPE
00226 
00227 #define NS_RSSSERVICE_CONTRACTID \
00228   "@mozilla.org/messenger/rssservice;1"
00229 
00230 #define NS_RSSPROTOCOLINFO_CONTRACTID \
00231   NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "rss"
00232 
00233 #define NS_RSSSERVICE_CID                                                    \
00234 { /* 44aef4ce-475b-42e3-bc42-7730d5ce7365 */                   \
00235  0x44aef4ce, 0x475b, 0x42e3,                                                 \
00236  { 0xbc, 0x42, 0x77, 0x30, 0xd5, 0xce, 0x73, 0x65 }}
00237 
00238 #define NS_RSSINCOMINGSERVER_CONTRACTID \
00239   NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "rss"
00240 
00241 #define NS_RSSINCOMINGSERVER_CID                                                           \
00242 { /* 3a874285-5520-41a0-bcda-a3dee3dbf4f3 */                   \
00243  0x3a874285, 0x5520, 0x41a0,                                                                             \
00244  {0xbc, 0xda, 0xa3, 0xde, 0xe3, 0xdb, 0xf4, 0xf3 }}
00245 
00246 #endif // nsMsgLocalCID_h__