xref: /haiku/src/tools/translation/inspector/Constants.h (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1 /*****************************************************************************/
2 // Constants
3 // Written by Michael Wilber, Haiku Translation Kit Team
4 //
5 // Constants.h
6 //
7 // Global include file containing BMessage 'what' constants and other constants
8 //
9 //
10 // Copyright (c) 2003 Haiku Project
11 //
12 // Permission is hereby granted, free of charge, to any person obtaining a
13 // copy of this software and associated documentation files (the "Software"),
14 // to deal in the Software without restriction, including without limitation
15 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 // and/or sell copies of the Software, and to permit persons to whom the
17 // Software is furnished to do so, subject to the following conditions:
18 //
19 // The above copyright notice and this permission notice shall be included
20 // in all copies or substantial portions of the Software.
21 //
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28 // DEALINGS IN THE SOFTWARE.
29 /*****************************************************************************/
30 
31 #ifndef MESSAGES_H
32 #define MESSAGES_H
33 
34 // BMessage 'what' values
35 #define M_OPEN_IMAGE						'opim'
36 #define M_SAVE_IMAGE						'saim'
37 #define M_OPEN_FILE_PANEL					'ofpl'
38 #define M_ACTIVE_TRANSLATORS_WINDOW			'atrn'
39 #define M_ACTIVE_TRANSLATORS_WINDOW_QUIT	'atrq'
40 #define M_INFO_WINDOW						'infw'
41 #define M_INFO_WINDOW_QUIT					'infq'
42 #define M_INFO_WINDOW_TEXT					'inft'
43 #define M_VIEW_FIRST_PAGE					'vwfp'
44 #define M_VIEW_LAST_PAGE					'vwlp'
45 #define M_VIEW_NEXT_PAGE					'vwnp'
46 #define M_VIEW_PREV_PAGE					'vwpp'
47 
48 // String constants
49 #define APP_SIG				"application/x-vnd.OBOS-Inspector"
50 #define IMAGEWINDOW_TITLE	"Inspector"
51 
52 
53 #endif // #ifndef MESSAGES_H
54