Back to index

lightning-sunbird  0.9+nobinonly
nsMsgHeaderMasks.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 _msgHeaderMasks_h_
00039 #define _msgHeaderMasks_h_
00040 
00041 DO NOT USE ANYMORE!!!
00042 /* This set enumerates the header fields which may be displayed in the
00043    message composition window.
00044  */
00045 #define MSG_FROM_HEADER_MASK                0x00000001
00046 #define MSG_REPLY_TO_HEADER_MASK            0x00000002
00047 #define MSG_TO_HEADER_MASK                                      0x00000004
00048 #define MSG_CC_HEADER_MASK                                      0x00000008
00049 #define MSG_BCC_HEADER_MASK                                     0x00000010
00050 #define MSG_FCC_HEADER_MASK                                     0x00000020
00051 #define MSG_NEWSGROUPS_HEADER_MASK          0x00000040
00052 #define MSG_FOLLOWUP_TO_HEADER_MASK         0x00000080
00053 #define MSG_SUBJECT_HEADER_MASK             0x00000100
00054 #define MSG_ATTACHMENTS_HEADER_MASK         0x00000200
00055 
00056 /* These next four are typically not ever displayed in the UI, but are still
00057    stored and used internally. */
00058 #define MSG_ORGANIZATION_HEADER_MASK                 0x00000400
00059 #define MSG_REFERENCES_HEADER_MASK                   0x00000800
00060 #define MSG_OTHERRANDOMHEADERS_HEADER_MASK  0x00001000
00061 #define MSG_NEWSPOSTURL_HEADER_MASK                         0x00002000
00062 
00063 #define MSG_PRIORITY_HEADER_MASK                       0x00004000
00064 //#define MSG_NEWS_FCC_HEADER_MASK               0x00008000
00065 //#define MSG_MESSAGE_ENCODING_HEADER_MASK       0x00010000
00066 #define MSG_CHARACTER_SET_HEADER_MASK                0x00008000
00067 #define MSG_MESSAGE_ID_HEADER_MASK                   0x00010000
00068 //#define MSG_NEWS_BCC_HEADER_MASK            0x00080000
00069 
00070 /* This is also not exposed to the UI; it's used internally to help remember
00071    whether the original message had an HTML portion that we can quote. */
00072 //#define MSG_HTML_PART_HEADER_MASK                     0x00100000
00073 
00074 /* The "body=" pseudo-header (as in "mailto:me?body=hi+there") */
00075 //#define MSG_DEFAULTBODY_HEADER_MASK                   0x00200000
00076 
00077 #define MSG_X_TEMPLATE_HEADER_MASK          0x00020000
00078 
00079 #define MSG_FCC2_HEADER_MASK                0x00400000
00080 
00081 /* IMAP folders for posting */
00082 //#define MSG_IMAP_FOLDER_HEADER_MASK                   0x02000000
00083 
00084 
00085 #endif