Use poolmem and allocate memory dynamically.
[AROS.git] / workbench / c / R / r.h
blob4c84e1893ff8084bb22484696d8da6ea06696de0
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);
52 #define VERSION "$VER: R 1.0 (28.05.2012)"
54 #endif // R_H