os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacLibrary.r
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /* 
     2  * tclMacLibrary.r --
     3  *
     4  *	This file creates resources used by the Tcl shared library.
     5  *	Many thanks go to "Jay Lieske, Jr." <lieske@princeton.edu> who
     6  *	wrote the initial version of this file.
     7  *
     8  * Copyright (c) 1996-1997 Sun Microsystems, Inc.
     9  *
    10  * See the file "license.terms" for information on usage and redistribution
    11  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    12  *
    13  * RCS: @(#) $Id: tclMacLibrary.r,v 1.7 2002/09/12 17:33:20 das Exp $
    14  */
    15 
    16 #include <Types.r>
    17 #include <SysTypes.r>
    18 
    19 /*
    20  * The folowing include and defines help construct
    21  * the version string for Tcl.
    22  */
    23 
    24 #define RC_INVOKED
    25 #include "tcl.h"
    26 
    27 #if (TCL_RELEASE_LEVEL == 0)
    28 #   define RELEASE_LEVEL alpha
    29 #elif (TCL_RELEASE_LEVEL == 1)
    30 #   define RELEASE_LEVEL beta
    31 #elif (TCL_RELEASE_LEVEL == 2)
    32 #   define RELEASE_LEVEL final
    33 #endif
    34 
    35 #if (TCL_RELEASE_LEVEL == 2)
    36 #   define MINOR_VERSION (TCL_MINOR_VERSION * 16) + TCL_RELEASE_SERIAL
    37 #   define RELEASE_CODE 0x00
    38 #else
    39 #   define MINOR_VERSION TCL_MINOR_VERSION * 16
    40 #   define RELEASE_CODE TCL_RELEASE_SERIAL
    41 #endif
    42 
    43 resource 'vers' (1) {
    44 	TCL_MAJOR_VERSION, MINOR_VERSION,
    45 	RELEASE_LEVEL, RELEASE_CODE, verUS,
    46 	TCL_PATCH_LEVEL,
    47 	TCL_PATCH_LEVEL ", by Ray Johnson & Jim Ingham" "\n" "© 2001 Tcl Core Team"
    48 };
    49 
    50 resource 'vers' (2) {
    51 	TCL_MAJOR_VERSION, MINOR_VERSION,
    52 	RELEASE_LEVEL, RELEASE_CODE, verUS,
    53 	TCL_PATCH_LEVEL,
    54 	"Tcl Library " TCL_PATCH_LEVEL " © 1993-2001"
    55 };
    56 
    57 /*
    58  * Currently the creator for all Tcl/Tk libraries and extensions
    59  * should be 'TclL'.  This will allow those extension and libraries
    60  * to use the common icon for Tcl extensions.  However, this signature
    61  * still needs to be approved by the signature police at Apple and may
    62  * change.
    63  */
    64 #define TCL_CREATOR 'TclL'
    65 #define TCL_LIBRARY_RESOURCES 2000
    66 
    67 /*
    68  * The 'BNDL' resource is the primary link between a file's
    69  * creator/type and its icon.  This resource acts for all Tcl shared
    70  * libraries; other libraries will not need one and ought to use
    71  * custom icons rather than new file types for a different appearance.
    72  */
    73 
    74 resource 'BNDL' (TCL_LIBRARY_RESOURCES, "Tcl bundle", purgeable) 
    75 {
    76 	TCL_CREATOR,
    77 	0,
    78 	{	/* array TypeArray: 2 elements */
    79 		/* [1] */
    80 		'FREF',
    81 		{	/* array IDArray: 1 elements */
    82 			/* [1] */
    83 			0, TCL_LIBRARY_RESOURCES
    84 		},
    85 		/* [2] */
    86 		'ICN#',
    87 		{	/* array IDArray: 1 elements */
    88 			/* [1] */
    89 			0, TCL_LIBRARY_RESOURCES
    90 		}
    91 	}
    92 };
    93 
    94 resource 'FREF' (TCL_LIBRARY_RESOURCES, purgeable) 
    95 {
    96 	'shlb', 0, ""
    97 };
    98 
    99 type TCL_CREATOR as 'STR ';
   100 resource TCL_CREATOR (0, purgeable) {
   101 	"Tcl Library " TCL_PATCH_LEVEL " © 1993-2001"
   102 };
   103 
   104 /*
   105  * The 'kind' resource works with a 'BNDL' in Macintosh Easy Open
   106  * to affect the text the Finder displays in the "kind" column and
   107  * file info dialog.  This information will be applied to all files
   108  * with the listed creator and type.
   109  */
   110 
   111 resource 'kind' (TCL_LIBRARY_RESOURCES, "Tcl kind", purgeable) {
   112 	TCL_CREATOR,
   113 	0, /* region = USA */
   114 	{
   115 		'shlb', "Tcl Library"
   116 	}
   117 };
   118 
   119 
   120 /*
   121  * The -16397 string will be displayed by Finder when a user
   122  * tries to open the shared library. The string should
   123  * give the user a little detail about the library's capabilities
   124  * and enough information to install the library in the correct location.  
   125  * A similar string should be placed in all shared libraries.
   126  */
   127 resource 'STR ' (-16397, purgeable) {
   128 	"Tcl Library\n\n"
   129 	"This is the core library needed to run Tool Command Language programs. "
   130 	"To work properly, it should be placed in the ŒTool Command Languageč folder "
   131 	"within the Extensions folder."
   132 };
   133 
   134 /*
   135  * The following are icons for the shared library.
   136  */
   137 
   138 data 'icl4' (2000, "Tcl Shared Library", purgeable) {
   139 	$"0FFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
   140 	$"F000 0000 0000 0000 0000 0000 000C F000"
   141 	$"F0CC CFFF CCCC CCC6 66CC CCCC CCCC F000"
   142 	$"F0CC CFFF FFFF FF66 F6CC CCCC CCCC F000"
   143 	$"F0CC CFFF 2000 0D66 6CCC CCCC CCCC F000"
   144 	$"F0CC CFFF 0202 056F 6E5C CCCC CCCC F000"
   145 	$"F0CC CFFF 2020 C666 F66F CCCC CCCC F000"
   146 	$"F0CC CFFF 0200 B66F 666B FCCC CCCC F000"
   147 	$"F0FC CFFF B020 55F6 6F52 BFCC CCCC F000"
   148 	$"FF0F 0CCC FB02 5665 66D0 2FCC CCCC F0F0"
   149 	$"F00F 0CCC CFB0 BF55 F6CF FFCC CCCC FFCF"
   150 	$"000F 0CCC CCFB 06C9 66CC CCCC CCCC F0CF"
   151 	$"000F 0CCC CCCF 56C6 6CCC CCCC CCCC CCCF"
   152 	$"000F 0CCC CCCC 6FC6 FCCC CCCC CCCC CCCF"
   153 	$"000F 0CCC CCCC 65C5 65CC CCCC CCCC CCCF"
   154 	$"000F 0CCC CCCC 55D6 57CC CCCC CCCC CCCF"
   155 	$"000F 0CCC CCCC 65CF 6CCC CCCC CCCC CCCF"
   156 	$"000F 0CCC CCCC 5AC6 6CFF CCCC CCCC CCCF"
   157 	$"000F 0CCC CCCC 65C5 6CF0 FCCC CCCC CCCF"
   158 	$"000F 0CCC CCCC CECF CCF0 0FCC CCCC CCCF"
   159 	$"000F 0CCC CCCC C5C6 CCCF 20FC CCCC FCCF"
   160 	$"F00F 0CCC CCCF FFD5 CCCC F20F CCCC FFCF"
   161 	$"FF0F 0CCC CCCF 20CF CCCC F020 FCCC F0F0"
   162 	$"F0F0 CCCC CCCF B2C2 FFFF 0002 0FFC F000"
   163 	$"F00C CCCC CCCC FBC0 2000 0020 2FFC F000"
   164 	$"F0CC CCCC CCCC CFCB 0202 0202 0FFC F000"
   165 	$"F0CC CCCC CCCC CCCF B020 2020 2FFC F000"
   166 	$"F0CC CCCC CCCC CCDC FBBB BBBB BFFC F000"
   167 	$"F0CC CCCC CCCC CCCC CFFF FFFF FFFC F000"
   168 	$"F0CC CCCC CCCC CCCC CCCC CCCC CFFC F000"
   169 	$"FCCC CCCC CCCC CCCC CCCC CCCC CCCC F000"
   170 	$"0FFF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
   171 };
   172 
   173 data 'ICN#' (2000, "Tcl Shared Library", purgeable) {
   174 	$"7FFF FFF0 8000 0008 8701 C008 87FF C008"
   175 	$"8703 8008 8707 E008 8707 F008 870F F808"
   176 	$"A78F EC08 D0CF C40A 906F DC0D 1035 C009"
   177 	$"101D 8001 100D 8001 100D C001 100D C001"
   178 	$"100D 8001 100D B001 100D A801 1005 2401"
   179 	$"1005 1209 901D 090D D011 088A A018 F068"
   180 	$"800C 0068 8005 0068 8001 8068 8000 FFE8"
   181 	$"8000 7FE8 8000 0068 8000 0008 7FFF FFF0"
   182 	$"7FFF FFF0 FFFF FFF8 FFFF FFF8 FFFF FFF8"
   183 	$"FFFF FFF8 FFFF FFF8 FFFF FFF8 FFFF FFF8"
   184 	$"FFFF FFF8 DFFF FFFA 9FFF FFFF 1FFF FFFF"
   185 	$"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
   186 	$"1FFF FFFF 1FFF FFFF 1FFF FFFF 1FFF FFFF"
   187 	$"1FFF FFFF 9FFF FFFF DFFF FFFA FFFF FFF8"
   188 	$"FFFF FFF8 FFFF FFF8 FFFF FFF8 FFFF FFF8"
   189 	$"FFFF FFF8 FFFF FFF8 FFFF FFF8 7FFF FFF0"
   190 };
   191 
   192 data 'ics#' (2000, "Tcl Shared Library", purgeable) {
   193 	$"FFFE B582 BB82 B3C2 BFA2 43C3 4381 4381"
   194 	$"4381 4763 4392 856E 838E 81AE 811E FFFE"
   195 	$"FFFE FFFE FFFE FFFE FFFE FFFF 7FFF 7FFF"
   196 	$"7FFF 7FFF 7FFF FFFE FFFE FFFE FFFE FFFE"
   197 };
   198 
   199 data 'ics4' (2000, "Tcl Shared Library", purgeable) {
   200 	$"FFFF FFFF FFFF FFF0 FCFF DED5 6CCC CCF0"
   201 	$"FCFF C0D6 ECCC CCF0 FCFF 2056 65DC CCF0"
   202 	$"FDFE D256 6DAC CCFF FFCC DDDE 5DDC CCEF"
   203 	$"0FCC CD67 5CCC CCCF 0FCC CC5D 6CCC CCCF"
   204 	$"0FCC CC5D 5CCC CCCF 0FCC CCD5 5CCC CCCF"
   205 	$"FFCC CFFD CCFF CCFF FCCC CF2D DF20 FCFC"
   206 	$"FCCC CCFD D202 FEF0 FCCC CC0D 2020 FEF0"
   207 	$"FCCC CCCD FBBB FEF0 FFFF FFFF FFFF FFE0"
   208 };
   209