The 0.5 release happened on 2/15, not on 2/14. :-)
[python/dscho.git] / Mac / GUSI-mods / into-src / GUSI.r
blob6da7fd6217a7f827b1c20e16d966ab6f3fd865a4
1 /*********************************************************************
2 Project : GUSI - Grand Unified Socket Interface
3 File : GUSI.r - Include this
4 Author : Matthias Neeracher
5 Language : MPW Rez 3.0
7 $Log$
8 Revision 1.1 1998/08/18 14:52:37 jack
9 Putting Python-specific GUSI modifications under CVS.
11 Revision 1.3 1994/12/30 19:33:34 neeri
12 Enlargened message box for select folder dialog.
14 Revision 1.2 1994/08/10 00:34:18 neeri
15 Sanitized for universal headers.
17 Revision 1.1 1994/02/25 02:12:04 neeri
18 Initial revision
20 Revision 0.5 1993/05/21 00:00:00 neeri
21 suffixes
23 Revision 0.4 1993/01/31 00:00:00 neeri
24 Daemon
26 Revision 0.3 1993/01/03 00:00:00 neeri
27 autoSpin
29 Revision 0.2 1992/09/24 00:00:00 neeri
30 Don't include CKID, create GUSIRsrc_P.h
32 Revision 0.1 1992/07/13 00:00:00 neeri
33 .rsrc
35 *********************************************************************/
37 #include "Types.r"
38 #include "GUSIRsrc_P.h"
40 include "GUSI.rsrc" not 'ckid';
42 /* Define a resource ('GU…I', GUSIRsrcID) to override GUSI defaults
43 To avoid having to change the Rez file every time I introduce another
44 feature, the preprocessor variable GUSI_PREF_VERSION by default keeps
45 everything compatible with version 1.0.2. Just define GUSI_PREF_VERSION
46 to be the version you want to use.
49 #ifndef GUSI_PREF_VERSION
50 #define GUSI_PREF_VERSION '0102'
51 #endif
53 type 'GU…I' {
54 literal longint text = 'TEXT'; /* Type for creat'ed files */
55 literal longint mpw = 'MPS '; /* Creator for creat'ed files */
56 byte noAutoSpin, autoSpin; /* Automatically spin cursor ? */
57 #if GUSI_PREF_VERSION > '0102'
58 boolean useChdir, dontUseChdir; /* Use chdir() ? */
59 boolean approxStat, accurateStat; /* statbuf.st_nlink = # of subdirectories ? */
60 #if GUSI_PREF_VERSION >= '0181'
61 boolean noDelayConsole, DelayConsole; /* Delay opening console window until needed? */
62 fill bit[1];
63 #else
64 boolean noTCPDaemon, isTCPDaemon; /* Inetd client ? */
65 boolean noUDPDaemon, isUDPDaemon;
66 #endif
67 #if GUSI_PREF_VERSION >= '0150'
68 #if GUSI_PREF_VERSION >= '0181'
69 boolean wantAppleEvents, noAppleEvents; /* Always solicit AppleEvents */
70 #else
71 boolean noConsole, hasConsole; /* Are we providing our own dev:console ? (Obsolete) */
72 #endif
73 #if GUSI_PREF_VERSION >= '0180'
74 boolean autoInitGraf, noAutoInitGraf; /* Automatically do InitGraf ? */
75 boolean exclusiveOpen, sharedOpen; /* Shared open() ? */
76 boolean noSigPipe, sigPipe; /* raise SIGPIPE on write to closed PIPE */
77 #else
78 fill bit[3];
79 #endif
80 #else
81 fill bit[4];
82 #endif
83 literal longint = GUSI_PREF_VERSION;
84 #if GUSI_PREF_VERSION >= '0120'
85 integer = $$Countof(SuffixArray);
86 wide array SuffixArray {
87 literal longint; /* Suffix of file */
88 literal longint; /* Type for file */
89 literal longint; /* Creator for file */
91 #endif
92 #endif
95 type 'TMPL' {
96 wide array {
97 pstring;
98 literal longint;
102 resource 'TMPL' (GUSIRsrcID, "GU…I") {
104 "Type of created files", 'TNAM',
105 "Creator of created files", 'TNAM',
106 "Automatically spin cursor", 'DBYT',
107 #if GUSI_PREF_VERSION > '0102'
108 "Not using chdir()", 'BBIT',
109 "Accurate stat()", 'BBIT',
110 "TCP daemon", 'BBIT',
111 "UDP daemon", 'BBIT',
112 #if GUSI_PREF_VERSION >= '0150'
113 "Own Console", 'BBIT',
114 #else
115 "Reserved", 'BBIT',
116 #endif
117 #if GUSI_PREF_VERSION >= '0180'
118 "Don't initialize QuickDraw", 'BBIT',
119 "Open files shared", 'BBIT',
120 "Raise SIGPIPE", 'BBIT',
121 #else
122 "Reserved", 'BBIT',
123 "Reserved", 'BBIT',
124 "Reserved", 'BBIT',
125 #endif
126 "Version (don't change)", 'TNAM',
127 #if GUSI_PREF_VERSION >= '0120'
128 "NumSuffices", 'OCNT',
129 "*****", 'LSTC',
130 "Suffix", 'TNAM',
131 "Type for suffix", 'TNAM',
132 "Creator for suffix", 'TNAM',
133 "*****", 'LSTE',
134 #endif
135 #endif
139 resource 'DLOG' (GUSIRsrcID, "Get Directory") {
140 {0, 0, 217, 348},
141 dBoxProc,
142 invisible,
143 noGoAway,
144 0x0,
145 10240,
147 alertPositionMainScreen
150 resource 'DITL' (GUSIRsrcID, "Get Directory") {
152 { 142, 256, 160, 336}, Button {enabled,"Open"},
153 {1152, 59, 1232, 77}, Button {enabled,"Hidden"},
154 { 193, 256, 211, 336}, Button {enabled,"Cancel"},
155 { 43, 232, 63, 347}, UserItem {disabled},
156 { 72, 256, 90, 336}, Button {enabled,"Eject"},
157 { 97, 256, 115, 336}, Button {enabled,"Drive"},
158 { 43, 12, 189, 230}, UserItem {enabled},
159 { 43, 229, 189, 246}, UserItem {enabled},
160 { 128, 252, 129, 340}, UserItem {disabled},
161 {1044, 20, 1145, 116}, StaticText {disabled,""},
162 { 167, 256, 185, 336}, Button {enabled,"Directory"},
163 { 0, 30, 18, 215}, Button {enabled,"Select Current Directory:"},
164 { 200, 20, 1145, 222}, StaticText {disabled,"Select a Folder"}