os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacLibrary.r
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacLibrary.r Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,209 @@
1.4 +/*
1.5 + * tclMacLibrary.r --
1.6 + *
1.7 + * This file creates resources used by the Tcl shared library.
1.8 + * Many thanks go to "Jay Lieske, Jr." <lieske@princeton.edu> who
1.9 + * wrote the initial version of this file.
1.10 + *
1.11 + * Copyright (c) 1996-1997 Sun Microsystems, Inc.
1.12 + *
1.13 + * See the file "license.terms" for information on usage and redistribution
1.14 + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1.15 + *
1.16 + * RCS: @(#) $Id: tclMacLibrary.r,v 1.7 2002/09/12 17:33:20 das Exp $
1.17 + */
1.18 +
1.19 +#include <Types.r>
1.20 +#include <SysTypes.r>
1.21 +
1.22 +/*
1.23 + * The folowing include and defines help construct
1.24 + * the version string for Tcl.
1.25 + */
1.26 +
1.27 +#define RC_INVOKED
1.28 +#include "tcl.h"
1.29 +
1.30 +#if (TCL_RELEASE_LEVEL == 0)
1.31 +# define RELEASE_LEVEL alpha
1.32 +#elif (TCL_RELEASE_LEVEL == 1)
1.33 +# define RELEASE_LEVEL beta
1.34 +#elif (TCL_RELEASE_LEVEL == 2)
1.35 +# define RELEASE_LEVEL final
1.36 +#endif
1.37 +
1.38 +#if (TCL_RELEASE_LEVEL == 2)
1.39 +# define MINOR_VERSION (TCL_MINOR_VERSION * 16) + TCL_RELEASE_SERIAL
1.40 +# define RELEASE_CODE 0x00
1.41 +#else
1.42 +# define MINOR_VERSION TCL_MINOR_VERSION * 16
1.43 +# define RELEASE_CODE TCL_RELEASE_SERIAL
1.44 +#endif
1.45 +
1.46 +resource 'vers' (1) {
1.47 + TCL_MAJOR_VERSION, MINOR_VERSION,
1.48 + RELEASE_LEVEL, RELEASE_CODE, verUS,
1.49 + TCL_PATCH_LEVEL,
1.50 + TCL_PATCH_LEVEL ", by Ray Johnson & Jim Ingham" "\n" "© 2001 Tcl Core Team"
1.51 +};
1.52 +
1.53 +resource 'vers' (2) {
1.54 + TCL_MAJOR_VERSION, MINOR_VERSION,
1.55 + RELEASE_LEVEL, RELEASE_CODE, verUS,
1.56 + TCL_PATCH_LEVEL,
1.57 + "Tcl Library " TCL_PATCH_LEVEL " © 1993-2001"
1.58 +};
1.59 +
1.60 +/*
1.61 + * Currently the creator for all Tcl/Tk libraries and extensions
1.62 + * should be 'TclL'. This will allow those extension and libraries
1.63 + * to use the common icon for Tcl extensions. However, this signature
1.64 + * still needs to be approved by the signature police at Apple and may
1.65 + * change.
1.66 + */
1.67 +#define TCL_CREATOR 'TclL'
1.68 +#define TCL_LIBRARY_RESOURCES 2000
1.69 +
1.70 +/*
1.71 + * The 'BNDL' resource is the primary link between a file's
1.72 + * creator/type and its icon. This resource acts for all Tcl shared
1.73 + * libraries; other libraries will not need one and ought to use
1.74 + * custom icons rather than new file types for a different appearance.
1.75 + */
1.76 +
1.77 +resource 'BNDL' (TCL_LIBRARY_RESOURCES, "Tcl bundle", purgeable)
1.78 +{
1.79 + TCL_CREATOR,
1.80 + 0,
1.81 + { /* array TypeArray: 2 elements */
1.82 + /* [1] */
1.83 + 'FREF',
1.84 + { /* array IDArray: 1 elements */
1.85 + /* [1] */
1.86 + 0, TCL_LIBRARY_RESOURCES
1.87 + },
1.88 + /* [2] */
1.89 + 'ICN#',
1.90 + { /* array IDArray: 1 elements */
1.91 + /* [1] */
1.92 + 0, TCL_LIBRARY_RESOURCES
1.93 + }
1.94 + }
1.95 +};
1.96 +
1.97 +resource 'FREF' (TCL_LIBRARY_RESOURCES, purgeable)
1.98 +{
1.99 + 'shlb', 0, ""
1.100 +};
1.101 +
1.102 +type TCL_CREATOR as 'STR ';
1.103 +resource TCL_CREATOR (0, purgeable) {
1.104 + "Tcl Library " TCL_PATCH_LEVEL " © 1993-2001"
1.105 +};
1.106 +
1.107 +/*
1.108 + * The 'kind' resource works with a 'BNDL' in Macintosh Easy Open
1.109 + * to affect the text the Finder displays in the "kind" column and
1.110 + * file info dialog. This information will be applied to all files
1.111 + * with the listed creator and type.
1.112 + */
1.113 +
1.114 +resource 'kind' (TCL_LIBRARY_RESOURCES, "Tcl kind", purgeable) {
1.115 + TCL_CREATOR,
1.116 + 0, /* region = USA */
1.117 + {
1.118 + 'shlb', "Tcl Library"
1.119 + }
1.120 +};
1.121 +
1.122 +
1.123 +/*
1.124 + * The -16397 string will be displayed by Finder when a user
1.125 + * tries to open the shared library. The string should
1.126 + * give the user a little detail about the library's capabilities
1.127 + * and enough information to install the library in the correct location.
1.128 + * A similar string should be placed in all shared libraries.
1.129 + */
1.130 +resource 'STR ' (-16397, purgeable) {
1.131 + "Tcl Library\n\n"
1.132 + "This is the core library needed to run Tool Command Language programs. "
1.133 + "To work properly, it should be placed in the ŒTool Command Language¹ folder "
1.134 + "within the Extensions folder."
1.135 +};
1.136 +
1.137 +/*
1.138 + * The following are icons for the shared library.
1.139 + */
1.140 +
1.141 +data 'icl4' (2000, "Tcl Shared Library", purgeable) {
1.142 + $"0FFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
1.143 + $"F000 0000 0000 0000 0000 0000 000C F000"
1.144 + $"F0CC CFFF CCCC CCC6 66CC CCCC CCCC F000"
1.145 + $"F0CC CFFF FFFF FF66 F6CC CCCC CCCC F000"
1.146 + $"F0CC CFFF 2000 0D66 6CCC CCCC CCCC F000"
1.147 + $"F0CC CFFF 0202 056F 6E5C CCCC CCCC F000"
1.148 + $"F0CC CFFF 2020 C666 F66F CCCC CCCC F000"
1.149 + $"F0CC CFFF 0200 B66F 666B FCCC CCCC F000"
1.150 + $"F0FC CFFF B020 55F6 6F52 BFCC CCCC F000"
1.151 + $"FF0F 0CCC FB02 5665 66D0 2FCC CCCC F0F0"
1.152 + $"F00F 0CCC CFB0 BF55 F6CF FFCC CCCC FFCF"
1.153 + $"000F 0CCC CCFB 06C9 66CC CCCC CCCC F0CF"
1.154 + $"000F 0CCC CCCF 56C6 6CCC CCCC CCCC CCCF"
1.155 + $"000F 0CCC CCCC 6FC6 FCCC CCCC CCCC CCCF"
1.156 + $"000F 0CCC CCCC 65C5 65CC CCCC CCCC CCCF"
1.157 + $"000F 0CCC CCCC 55D6 57CC CCCC CCCC CCCF"
1.158 + $"000F 0CCC CCCC 65CF 6CCC CCCC CCCC CCCF"
1.159 + $"000F 0CCC CCCC 5AC6 6CFF CCCC CCCC CCCF"
1.160 + $"000F 0CCC CCCC 65C5 6CF0 FCCC CCCC CCCF"
1.161 + $"000F 0CCC CCCC CECF CCF0 0FCC CCCC CCCF"
1.162 + $"000F 0CCC CCCC C5C6 CCCF 20FC CCCC FCCF"
1.163 + $"F00F 0CCC CCCF FFD5 CCCC F20F CCCC FFCF"
1.164 + $"FF0F 0CCC CCCF 20CF CCCC F020 FCCC F0F0"
1.165 + $"F0F0 CCCC CCCF B2C2 FFFF 0002 0FFC F000"
1.166 + $"F00C CCCC CCCC FBC0 2000 0020 2FFC F000"
1.167 + $"F0CC CCCC CCCC CFCB 0202 0202 0FFC F000"
1.168 + $"F0CC CCCC CCCC CCCF B020 2020 2FFC F000"
1.169 + $"F0CC CCCC CCCC CCDC FBBB BBBB BFFC F000"
1.170 + $"F0CC CCCC CCCC CCCC CFFF FFFF FFFC F000"
1.171 + $"F0CC CCCC CCCC CCCC CCCC CCCC CFFC F000"
1.172 + $"FCCC CCCC CCCC CCCC CCCC CCCC CCCC F000"
1.173 + $"0FFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
1.174 +};
1.175 +
1.176 +data 'ICN#' (2000, "Tcl Shared Library", purgeable) {
1.177 + $"7FFF FFF0 8000 0008 8701 C008 87FF C008"
1.178 + $"8703 8008 8707 E008 8707 F008 870F F808"
1.179 + $"A78F EC08 D0CF C40A 906F DC0D 1035 C009"
1.180 + $"101D 8001 100D 8001 100D C001 100D C001"
1.181 + $"100D 8001 100D B001 100D A801 1005 2401"
1.182 + $"1005 1209 901D 090D D011 088A A018 F068"
1.183 + $"800C 0068 8005 0068 8001 8068 8000 FFE8"
1.184 + $"8000 7FE8 8000 0068 8000 0008 7FFF FFF0"
1.185 + $"7FFF FFF0 FFFF FFF8 FFFF FFF8 FFFF FFF8"
1.186 + $"FFFF FFF8 FFFF FFF8 FFFF FFF8 FFFF FFF8"
1.187 + $"FFFF FFF8 DFFF FFFA 9FFF FFFF 1FFF FFFF"
1.188 + $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
1.189 + $"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
1.190 + $"1FFF FFFF 9FFF FFFF DFFF FFFA FFFF FFF8"
1.191 + $"FFFF FFF8 FFFF FFF8 FFFF FFF8 FFFF FFF8"
1.192 + $"FFFF FFF8 FFFF FFF8 FFFF FFF8 7FFF FFF0"
1.193 +};
1.194 +
1.195 +data 'ics#' (2000, "Tcl Shared Library", purgeable) {
1.196 + $"FFFE B582 BB82 B3C2 BFA2 43C3 4381 4381"
1.197 + $"4381 4763 4392 856E 838E 81AE 811E FFFE"
1.198 + $"FFFE FFFE FFFE FFFE FFFE FFFF 7FFF 7FFF"
1.199 + $"7FFF 7FFF 7FFF FFFE FFFE FFFE FFFE FFFE"
1.200 +};
1.201 +
1.202 +data 'ics4' (2000, "Tcl Shared Library", purgeable) {
1.203 + $"FFFF FFFF FFFF FFF0 FCFF DED5 6CCC CCF0"
1.204 + $"FCFF C0D6 ECCC CCF0 FCFF 2056 65DC CCF0"
1.205 + $"FDFE D256 6DAC CCFF FFCC DDDE 5DDC CCEF"
1.206 + $"0FCC CD67 5CCC CCCF 0FCC CC5D 6CCC CCCF"
1.207 + $"0FCC CC5D 5CCC CCCF 0FCC CCD5 5CCC CCCF"
1.208 + $"FFCC CFFD CCFF CCFF FCCC CF2D DF20 FCFC"
1.209 + $"FCCC CCFD D202 FEF0 FCCC CC0D 2020 FEF0"
1.210 + $"FCCC CCCD FBBB FEF0 FFFF FFFF FFFF FFE0"
1.211 +};
1.212 +