xref: /haiku/src/apps/mail/Messages.h (revision e705c841d784f0035a0ef3e9e96f6e017df16681)
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_CUSTOM,
88 	M_STATUS,
89 	M_READ_POS,
90 
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 	M_ACCOUNTS,
102 
103 	// queries
104 	M_EDIT_QUERIES,
105 	M_EXECUTE_QUERY,
106 	M_QUERY_RECIPIENT,
107 	M_QUERY_SENDER,
108 	M_QUERY_SUBJECT,
109 
110 	// encls
111 	M_ADD,
112 	M_REMOVE,
113 	M_OPEN,
114 	M_COPY,
115 
116 	// nav
117 	M_READ,
118 	M_UNREAD,
119 	M_NEXTMSG,
120 	M_PREVMSG,
121 	M_SAVE_POSITION,
122 
123 	// Spam GUI button and menu items.  Order is important.
124 	M_SPAM_BUTTON,
125 	M_TRAIN_SPAM_AND_DELETE,
126 	M_TRAIN_SPAM,
127 	M_UNTRAIN,
128 	M_TRAIN_GENUINE,
129 
130 	M_REDO
131 };
132 
133 #endif // _MESSAGES_H
134 
135