Back to index

lightning-sunbird  0.9+nobinonly
nsMsgNewsCID.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 nsMsgNewsCID_h__
00039 #define nsMsgNewsCID_h__
00040 
00041 #include "nsISupports.h"
00042 #include "nsIFactory.h"
00043 #include "nsIComponentManager.h"
00044 #include "nsMsgBaseCID.h"
00045 
00046 //
00047 // nsMsgNewsFolder
00048 #define NS_NEWSFOLDERRESOURCE_CONTRACTID \
00049   NS_RDF_RESOURCE_FACTORY_CONTRACTID_PREFIX "news"
00050 #define NS_NEWSFOLDERRESOURCE_CID                       \
00051 { /* 4ace448a-f6d4-11d2-880d-004005263078 */            \
00052  0x4ace448a, 0xf6d4, 0x11d2,                            \
00053  {0x88, 0x0d, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78}       \
00054 }
00055 
00056 //
00057 // nsNntpIncomingServer
00058 //
00059 #define NS_NNTPINCOMINGSERVER_CONTRACTID \
00060   NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "nntp"
00061 
00062 #define NS_NNTPINCOMINGSERVER_CID                \
00063 { /* 6ff28d0a-f776-11d2-87ca-004005263078 */            \
00064  0x6ff28d0a, 0xf776, 0x11d2,                            \
00065  {0x87, 0xca, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78}       \
00066 }
00067 
00068 //
00069 // nsNntpService
00070 //
00071 
00072 #define NS_NNTPPROTOCOLINFO_CONTRACTID           \
00073   NS_MSGPROTOCOLINFO_CONTRACTID_PREFIX "nntp"
00074 
00075 #define NS_NEWSPROTOCOLHANDLER_CONTRACTID \
00076   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "news"
00077 #define NS_SNEWSPROTOCOLHANDLER_CONTRACTID \
00078   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "snews"
00079 #define NS_NNTPPROTOCOLHANDLER_CONTRACTID \
00080   NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "nntp"
00081 #define NS_NEWSMESSAGESERVICE_CONTRACTID \
00082   "@mozilla.org/messenger/messageservice;1?type=news-message"
00083 #define NS_NNTPMESSAGESERVICE_CONTRACTID \
00084   "@mozilla.org/messenger/messageservice;1?type=news" 
00085 #define NS_NNTPSERVICE_CONTRACTID \
00086   "@mozilla.org/messenger/nntpservice;1"
00087 #define NS_NEWSSTARTUPHANDLER_CONTRACTID \
00088   "@mozilla.org/commandlinehandler/general-startup;1?type=news"
00089 
00090 #define NS_NNTPSERVICE_CID                              \
00091 { /* 4C9F90E1-E19B-11d2-806E-006008128C4E */            \
00092  0x4c9f90e1, 0xe19b, 0x11d2,                            \
00093  {0x80, 0x6e, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e}  \
00094 }              
00095 
00096 //
00097 // nsNNTPNewsgroupPost
00098 //
00099 #define NS_NNTPNEWSGROUPPOST_CONTRACTID \
00100   "@mozilla.org/messenger/nntpnewsgrouppost;1"
00101 #define NS_NNTPNEWSGROUPPOST_CID  \
00102 { /* 30c60228-187e-11d3-842f-004005263078 */ \
00103  0x30c60228, 0x187e, 0x11d3, \
00104  {0x84, 0x2f, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
00105 }
00106 
00107 //
00108 // nsNNTPNewsgroupList
00109 //
00110 #define NS_NNTPNEWSGROUPLIST_CONTRACTID \
00111   "@mozilla.org/messenger/nntpnewsgrouplist;1"
00112 #define NS_NNTPNEWSGROUPLIST_CID \
00113 { /* 631e9054-1893-11d3-9916-004005263078 */ \
00114  0x631e9054, 0x1893, 0x11d3, \
00115  {0x99, 0x16, 0x00, 0x40, 0x05, 0x26, 0x30, 0x78} \
00116 }
00117 
00118 //
00119 // nsNNTPArticleList
00120 //
00121 #define NS_NNTPARTICLELIST_CONTRACTID \
00122   "@mozilla.org/messenger/nntparticlelist;1"
00123 #define NS_NNTPARTICLELIST_CID  \
00124 { /* 9f12bdf0-189f-11d3-973e-00805f916fd3 */ \
00125  0x9f12bdf0, 0x189f, 0x11d3, \
00126  {0x97, 0x3e, 0x00, 0x80, 0x5f, 0x91, 0x6f, 0xd3} \
00127 }
00128 
00129 //
00130 // nsNntpUrl
00131 //
00132 #define NS_NNTPURL_CONTRACTID \
00133   "@mozilla.org/messenger/nntpurl;1"
00134 #define NS_NNTPURL_CID                                                              \
00135 { /* 196B4B30-E18C-11d2-806E-006008128C4E */                   \
00136   0x196b4b30, 0xe18c, 0x11d2,                                                \
00137     { 0x80, 0x6e, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
00138 
00139 //
00140 // nsNewsDownloadDialogArgs 
00141 //
00142 #define NS_NEWSDOWNLOADDIALOGARGS_CONTRACTID \
00143    "@mozilla.org/messenger/newsdownloaddialogargs;1"
00144 #define NS_NEWSDOWNLOADDIALOGARGS_CID   \
00145 { /* 1540689e-1dd2-11b2-933d-f0d1e460ef4a */    \
00146   0x1540689e, 0x1dd2, 0x11b2,   \
00147     { 0x93, 0x3d, 0xf0, 0xd1, 0xe4, 0x60, 0xef, 0x4a} }
00148 
00149 #endif // nsMsgNewsCID_h__