xref: /haiku/src/apps/mail/Messages.h (revision 1214ef1b2100f2b3299fc9d8d6142e46f70a4c3f)
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 
67 	// file
68 	M_REPLY,
69 	M_REPLY_TO_SENDER,
70 	M_REPLY_ALL,
71 	M_FORWARD,
72 	M_FORWARD_WITHOUT_ATTACHMENTS,
73 	M_RESEND,
74 	M_COPY_TO_NEW,
75 	M_HEADER,
76 	M_RAW,
77 	M_SEND_NOW,
78 	M_SAVE_AS_DRAFT,
79 	M_SAVE,
80 	M_PRINT_SETUP,
81 	M_PRINT,
82 	M_DELETE,
83 	M_DELETE_PREV,
84 	M_DELETE_NEXT,
85 	M_CLOSE_READ,
86 	M_CLOSE_SAVED,
87 	M_CLOSE_SAME,
88 	M_CLOSE_CUSTOM,
89 	M_STATUS,
90 	M_OPEN_MAIL_BOX,
91 	M_OPEN_MAIL_FOLDER,
92 
93 	// edit
94 	M_SELECT,
95 	M_QUOTE,
96 	M_REMOVE_QUOTE,
97 	M_CHECK_SPELLING,
98 	M_SIGNATURE,
99 	M_RANDOM_SIG,
100 	M_SIG_MENU,
101 	M_FIND,
102 	M_FIND_AGAIN,
103 
104 	// queries
105 	M_EDIT_QUERIES,
106 	M_EXECUTE_QUERY,
107 
108 	// encls
109 	M_ADD,
110 	M_REMOVE,
111 	M_OPEN,
112 	M_COPY,
113 
114 	// nav
115 	M_NEXTMSG,
116 	M_PREVMSG,
117 	M_SAVE_POSITION,
118 
119 	// Spam GUI button and menu items.  Order is important.
120 	M_SPAM_BUTTON,
121 	M_TRAIN_SPAM_AND_DELETE,
122 	M_TRAIN_SPAM,
123 	M_UNTRAIN,
124 	M_TRAIN_GENUINE,
125 
126 	M_REDO
127 };
128 
129 #endif // _MESSAGES_H
130