dont baulk on apple versions of flex
[AROS.git] / workbench / system / Snoopy / setup.h
bloba19ce863c58d94f21c72b0c63e47f2ffd44b3fdf
1 /*
2 Copyright © 2006-2008, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef SETUP_H
7 #define SETUP_H
9 #include <exec/types.h>
11 #include "main.h"
13 #define PREFFILE "envarc:snoopy.prefs"
15 void setup_init(void);
16 void setup_reset(void);
17 BOOL setup_open(void);
18 BOOL setup_save(void);
20 struct Setup
22 BOOL onlyShowFails;
23 BOOL showCliNr;
24 BOOL useDevNames;
25 BOOL showPaths;
26 BOOL ignoreWB;
27 BOOL breakPoint; // stop AROS e.g. with asm("int3") on i386.
29 BOOL match; // TRUE if pattern could be successfully parsed.
30 STRPTR pattern;
31 TEXT parsedpattern[PARSEDPATTERNLEN];
33 BOOL enableChangeDir;
34 BOOL enableDelete;
35 BOOL enableExecute;
36 BOOL enableGetVar;
37 BOOL enableLoadSeg;
38 BOOL enableLock;
39 BOOL enableMakeDir;
40 BOOL enableMakeLink;
41 BOOL enableOpen;
42 BOOL enableRename;
43 BOOL enableRunCommand;
44 BOOL enableSetVar;
45 BOOL enableSystem;
47 BOOL enableFindPort;
48 BOOL enableFindResident;
49 BOOL enableFindSemaphore;
50 BOOL enableFindTask;
51 BOOL enableLockScreen;
52 BOOL enableOpenDevice;
53 BOOL enableOpenFont;
54 BOOL enableOpenLibrary;
55 BOOL enableOpenResource;
56 BOOL enableReadToolTypes;
58 // min. field len for output
59 WORD nameLen;
60 WORD actionLen;
61 WORD targetLen;
62 WORD optionLen;
63 };
65 extern struct Setup setup;
66 extern struct Setup oldsetup;
68 #endif