xref: /haiku/src/apps/mail/Messages.h (revision a7ee73c8eb4666527b516ce277fa0ac0dad830ba)
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 
38 // as defined by the People app
39 #define M_LAUNCH_PEOPLE	'newp'
40 
41 enum MESSAGES {
42 	REFS_RECEIVED = 64,
43 	LIST_INVOKED,
44 	WINDOW_CLOSED,
45 	CHANGE_FONT,
46 	RESET_BUTTONS,
47 	PREFS_CHANGED,
48 	CHARSET_CHOICE_MADE
49 };
50 
51 enum TEXT {
52 	SUBJECT_FIELD = REFS_RECEIVED + 64,
53 	TO_FIELD,
54 	ENCLOSE_FIELD,
55 	CC_FIELD,
56 	BCC_FIELD,
57 	NAME_FIELD
58 };
59 
60 enum MENUS {
61 	// app
62 	M_NEW = SUBJECT_FIELD + 64,
63 	M_PREFS,
64 	M_EDIT_SIGNATURE,
65 	M_FONT,
66 	M_STYLE,
67 	M_SIZE,
68 	M_BEGINNER,
69 	M_EXPERT,
70 
71 	// file
72 	M_REPLY,
73 	M_REPLY_TO_SENDER,
74 	M_REPLY_ALL,
75 	M_FORWARD,
76 	M_FORWARD_WITHOUT_ATTACHMENTS,
77 	M_RESEND,
78 	M_COPY_TO_NEW,
79 	M_HEADER,
80 	M_RAW,
81 	M_SEND_NOW,
82 	M_SAVE_AS_DRAFT,
83 	M_SAVE,
84 	M_PRINT_SETUP,
85 	M_PRINT,
86 	M_DELETE,
87 	M_DELETE_PREV,
88 	M_DELETE_NEXT,
89 	M_CLOSE_READ,
90 	M_CLOSE_SAVED,
91 	M_CLOSE_CUSTOM,
92 	M_STATUS,
93 	M_READ_POS,
94 
95 	// edit
96 	M_SELECT,
97 	M_ADD_QUOTE_LEVEL,
98 	M_SUB_QUOTE_LEVEL,
99 	M_CHECK_SPELLING,
100 	M_SIGNATURE,
101 	M_RANDOM_SIG,
102 	M_SIG_MENU,
103 	M_FIND,
104 	M_FIND_AGAIN,
105 	M_ACCOUNTS,
106 
107 	// queries
108 	M_EDIT_QUERIES,
109 	M_EXECUTE_QUERY,
110 	M_QUERY_RECIPIENT,
111 	M_QUERY_SENDER,
112 	M_QUERY_SUBJECT,
113 
114 	// encls
115 	M_ADD,
116 	M_REMOVE,
117 	M_OPEN,
118 	M_COPY,
119 
120 	// nav
121 	M_READ,
122 	M_UNREAD,
123 	M_NEXTMSG,
124 	M_PREVMSG,
125 	M_SAVE_POSITION,
126 
127 	// Spam GUI button and menu items.  Order is important.
128 	M_SPAM_BUTTON,
129 	M_TRAIN_SPAM_AND_DELETE,
130 	M_TRAIN_SPAM,
131 	M_UNTRAIN,
132 	M_TRAIN_GENUINE,
133 
134 	M_REDO
135 };
136 
137 
138 #endif // _MESSAGES_H
139 
140