Fixed compatibility of output.
[AROS.git] / external / openurl / raPrefs / gui_global.h
blob66c7fe4eba3dbd1f680bd17c648762815d773783
1 /***************************************************************************
3 openurl.library - universal URL display and browser launcher library
4 Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
5 Copyright (C) 2005-2013 by openurl.library Open Source Team
7 This library is free software; it has been placed in the public domain
8 and you can freely redistribute it and/or modify it. Please note, however,
9 that some components may be under the LGPL or GPL license.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 openurl.library project: http://sourceforge.net/projects/openurllib/
17 $Id$
19 ***************************************************************************/
21 #ifndef GUI_GLOBAL_H
22 #define GUI_GLOBAL_H
24 #include <exec/lists.h>
25 #include <intuition/intuition.h>
26 #include <intuition/classusr.h>
28 #define CATCOMP_NUMBERS
29 #include "locale.h"
30 #undef CATCOMP_NUMBERS
32 struct Gadget;
34 enum
36 // ***** edit browser *****
37 OBJ_BROW_ALIGN,
39 OBJ_BROW_NAME_STR,
40 OBJ_BROW_PATH_GET,
41 OBJ_BROW_PATH_CHOOSE,
42 OBJ_BROW_AREXX_STR,
43 OBJ_BROW_AREXX_CHOOSE,
45 OBJ_BROW_SHOW_STR,
46 OBJ_BROW_FRONT_STR,
47 OBJ_BROW_OPEN_STR,
48 OBJ_BROW_OPEN_CHOOSE,
49 OBJ_BROW_NEW_STR,
50 OBJ_BROW_NEW_CHOOSE,
52 OBJ_BROW_USE,
53 OBJ_BROW_CANCEL,
55 // ***** edit mailer *****
56 OBJ_MAIL_ALIGN1,
58 OBJ_MAIL_NAME_STR,
59 OBJ_MAIL_PATH_GET,
60 OBJ_MAIL_PATH_CHOOSE,
61 OBJ_MAIL_AREXX_STR,
62 OBJ_MAIL_AREXX_CHOOSE,
64 OBJ_MAIL_ALIGN2,
66 OBJ_MAIL_SHOW_STR,
67 OBJ_MAIL_FRONT_STR,
68 OBJ_MAIL_WRITE_STR,
69 OBJ_MAIL_WRITE_CHOOSE,
71 OBJ_MAIL_USE,
72 OBJ_MAIL_CANCEL,
74 // ***** edit FTP client *****
75 OBJ_FTP_ALIGN1,
77 OBJ_FTP_NAME_STR,
78 OBJ_FTP_PATH_GET,
79 OBJ_FTP_PATH_CHOOSE,
80 OBJ_FTP_AREXX_STR,
81 OBJ_FTP_AREXX_CHOOSE,
82 OBJ_FTP_REMOVE,
84 OBJ_FTP_ALIGN2,
86 OBJ_FTP_SHOW_STR,
87 OBJ_FTP_FRONT_STR,
88 OBJ_FTP_OPEN_STR,
89 OBJ_FTP_OPEN_CHOOSE,
90 OBJ_FTP_NEW_STR,
91 OBJ_FTP_NEW_CHOOSE,
93 OBJ_FTP_USE,
94 OBJ_FTP_CANCEL,
96 // ***** page 1 *****
97 OBJ_LBROWSER_BROW,
98 OBJ_ADD_BROW,
99 OBJ_EDIT_BROW,
100 OBJ_CLONE_BROW,
101 OBJ_UP_BROW,
102 OBJ_DOWN_BROW,
103 OBJ_DELETE_BROW,
105 // ***** page 2 *****
106 OBJ_LBROWSER_MAIL,
107 OBJ_ADD_MAIL,
108 OBJ_EDIT_MAIL,
109 OBJ_CLONE_MAIL,
110 OBJ_UP_MAIL,
111 OBJ_DOWN_MAIL,
112 OBJ_DELETE_MAIL,
115 // ***** page 3 *****
116 OBJ_LBROWSER_FTP,
117 OBJ_ADD_FTP,
118 OBJ_EDIT_FTP,
119 OBJ_CLONE_FTP,
120 OBJ_UP_FTP,
121 OBJ_DOWN_FTP,
122 OBJ_DELETE_FTP,
124 // ***** page 4 ****
125 OBJ_UNICONIFY,
126 OBJ_BRING,
127 OBJ_OPEN,
128 OBJ_LAUNCH,
130 OBJ_PREPEND,
131 OBJ_SEND_MAILTO,
132 OBJ_SEND_FTP,
134 // ***** other *****
135 OBJ_CLICKTAB,
136 OBJ_SAVE,
137 OBJ_USE,
138 OBJ_APPLY,
139 OBJ_CANCEL,
141 OBJ_HIDDEN_CHOOSER,
143 OBJ_NUM
146 #define OBJ(x) Objects[x]
147 #define GAD(x) (struct Gadget *)Objects[x]
149 extern Object *Objects[OBJ_NUM];
151 struct Image chooser_image;
153 extern struct List list_Brow;
154 extern struct List list_Mail;
155 extern struct List list_FTPs;
157 extern struct MsgPort *AppPort;
158 extern struct Hook idcmphook;
160 extern Object *edit_brow_win;
161 extern Object *edit_mail_win;
162 extern Object *edit_ftp_win;
164 #endif // GUI_GLOBAL_H