xref: /haiku/src/apps/mail/Messages.h (revision d9cebac2b77547b7064f22497514eecd2d047160)
1 /*
2 Open Tracker License
3 
4 Terms and Conditions
5 
6 Copyright (c) 1991-2001, Be Incorporated. All rights reserved.
7 
8 Permission is hereby granted, free of charge, to any person obtaining a copy of
9 this software and associated documentation files (the "Software"), to deal in
10 the Software without restriction, including without limitation the rights to
11 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
12 of the Software, and to permit persons to whom the Software is furnished to do
13 so, subject to the following conditions:
14 
15 The above copyright notice and this permission notice applies to all licensees
16 and shall be included in all copies or substantial portions of the Software.
17 
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY,
20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
23 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 
25 Except as contained in this notice, the name of Be Incorporated shall not be
26 used in advertising or otherwise to promote the sale, use or other dealings in
27 this Software without prior written authorization from Be Incorporated.
28 
29 BeMail(TM), Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
30 of Be Incorporated in the United States and other countries. Other brand product
31 names are registered trademarks or trademarks of their respective holders.
32 All rights reserved.
33 */
34 #ifndef _MESSAGES_H
35 #define _MESSAGES_H
36 
37 enum MESSAGES {
38 	REFS_RECEIVED = 64,
39 	LIST_INVOKED,
40 	WINDOW_CLOSED,
41 	CHANGE_FONT,
42 	RESET_BUTTONS,
43 	PREFS_CHANGED,
44 	CHARSET_CHOICE_MADE
45 };
46 
47 enum TEXT {
48 	SUBJECT_FIELD = REFS_RECEIVED + 64,
49 	TO_FIELD,
50 	ENCLOSE_FIELD,
51 	CC_FIELD,
52 	BCC_FIELD,
53 	NAME_FIELD
54 };
55 
56 enum MENUS {
57 	/* app */
58 	M_NEW = SUBJECT_FIELD + 64,
59 	M_PREFS,
60 	M_EDIT_SIGNATURE,
61 	M_FONT,
62 	M_STYLE,
63 	M_SIZE,
64 	M_BEGINNER,
65 	M_EXPERT,
66 	/* file */
67 	M_REPLY,
68 	M_REPLY_TO_SENDER,
69 	M_REPLY_ALL,
70 	M_FORWARD,
71 	M_FORWARD_WITHOUT_ATTACHMENTS,
72 	M_RESEND,
73 	M_COPY_TO_NEW,
74 	M_HEADER,
75 	M_RAW,
76 	M_SEND_NOW,
77 	M_SAVE_AS_DRAFT,
78 	M_SAVE,
79 	M_PRINT_SETUP,
80 	M_PRINT,
81 	M_DELETE,
82 	M_DELETE_PREV,
83 	M_DELETE_NEXT,
84 	M_CLOSE_READ,
85 	M_CLOSE_SAVED,
86 	M_CLOSE_SAME,
87 	M_CLOSE_CUSTOM,
88 	M_STATUS,
89 	M_OPEN_MAIL_BOX,
90 	M_OPEN_MAIL_FOLDER,
91 	/* edit */
92 	M_SELECT,
93 	M_QUOTE,
94 	M_REMOVE_QUOTE,
95 	M_CHECK_SPELLING,
96 	M_SIGNATURE,
97 	M_RANDOM_SIG,
98 	M_SIG_MENU,
99 	M_FIND,
100 	M_FIND_AGAIN,
101 	/* encls */
102 	M_ADD,
103 	M_REMOVE,
104 	M_OPEN,
105 	M_COPY,
106 	/* nav */
107 	M_NEXTMSG,
108 	M_PREVMSG,
109 	M_SAVE_POSITION,
110 	/* Spam GUI button and menu items.  Order is important. */
111 	M_SPAM_BUTTON,
112 	M_TRAIN_SPAM_AND_DELETE,
113 	M_TRAIN_SPAM,
114 	M_UNTRAIN,
115 	M_TRAIN_GENUINE,
116 
117 	M_REDO
118 };
119 
120 #endif // _MESSAGES_H
121