revert between 56095 -> 55830 in arch
[AROS.git] / workbench / c / R / r.h
blobedd33bab2b578097764458f53bb2e5dad15a3c03
1 #ifndef _R_H
2 #define _R_H
4 /*
5 Copyright © 2012, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <exec/types.h>
10 #include <intuition/classusr.h>
13 struct CArg
15 TEXT *argname;
16 Object *object;
17 BOOL a_flag;
18 BOOL f_flag;
19 BOOL k_flag;
20 BOOL m_flag;
21 BOOL n_flag;
22 BOOL s_flag;
23 BOOL t_flag;
26 struct Req
28 struct RDArgs *rda;
29 STRPTR filename;
30 STRPTR profile;
31 BOOL nogui;
32 STRPTR arguments;
34 TEXT *cmd_template; // template string from outfile
36 ULONG arg_cnt;
37 struct CArg *cargs;
39 BOOL do_execute; // TRUE if Execute button was clicked
43 extern APTR poolmem;
46 BOOL create_gui(struct Req *req);
47 BOOL handle_gui(struct Req *req);
48 void cleanup_gui(void);
49 BOOL get_gui_bool(struct CArg *carg);
50 CONST_STRPTR get_gui_string(struct CArg *carg);
51 BOOL set_defaults(struct Req *req);
53 #define VERSION "$VER: R 1.2 (12.09.2012)"
55 #endif // R_H