sl@0: /* sl@0: * tclMacApplication.r -- sl@0: * sl@0: * This file creates resources for use Tcl Shell application. sl@0: * It should be viewed as an example of how to create a new sl@0: * Tcl application using the shared Tcl libraries. sl@0: * sl@0: * Copyright (c) 1996-1997 Sun Microsystems, Inc. sl@0: * sl@0: * See the file "license.terms" for information on usage and redistribution sl@0: * of this file, and for a DISCLAIMER OF ALL WARRANTIES. sl@0: * sl@0: * RCS: @(#) $Id: tclMacApplication.r,v 1.6 2002/09/12 17:33:20 das Exp $ sl@0: */ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: /* sl@0: * The folowing include and defines help construct sl@0: * the version string for Tcl. sl@0: */ sl@0: sl@0: #define RC_INVOKED sl@0: #include "tcl.h" sl@0: sl@0: #if (TCL_RELEASE_LEVEL == 0) sl@0: # define RELEASE_LEVEL alpha sl@0: #elif (TCL_RELEASE_LEVEL == 1) sl@0: # define RELEASE_LEVEL beta sl@0: #elif (TCL_RELEASE_LEVEL == 2) sl@0: # define RELEASE_LEVEL final sl@0: #endif sl@0: sl@0: #if (TCL_RELEASE_LEVEL == 2) sl@0: # define MINOR_VERSION (TCL_MINOR_VERSION * 16) + TCL_RELEASE_SERIAL sl@0: # define RELEASE_CODE 0x00 sl@0: #else sl@0: # define MINOR_VERSION TCL_MINOR_VERSION * 16 sl@0: # define RELEASE_CODE TCL_RELEASE_SERIAL sl@0: #endif sl@0: sl@0: resource 'vers' (1) { sl@0: TCL_MAJOR_VERSION, MINOR_VERSION, sl@0: RELEASE_LEVEL, RELEASE_CODE, verUS, sl@0: TCL_PATCH_LEVEL, sl@0: TCL_PATCH_LEVEL ", by Ray Johnson & Jim Ingham" "\n" "© 2001 Tcl Core Team" sl@0: }; sl@0: sl@0: resource 'vers' (2) { sl@0: TCL_MAJOR_VERSION, MINOR_VERSION, sl@0: RELEASE_LEVEL, RELEASE_CODE, verUS, sl@0: TCL_PATCH_LEVEL, sl@0: "Tcl Shell " TCL_PATCH_LEVEL " © 1993-2001" sl@0: }; sl@0: sl@0: #define TCL_APP_CREATOR 'Tcl ' sl@0: sl@0: type TCL_APP_CREATOR as 'STR '; sl@0: resource TCL_APP_CREATOR (0, purgeable) { sl@0: "Tcl Shell " TCL_PATCH_LEVEL " © 1993-2001" sl@0: }; sl@0: sl@0: /* sl@0: * The 'kind' resource works with a 'BNDL' in Macintosh Easy Open sl@0: * to affect the text the Finder displays in the "kind" column and sl@0: * file info dialog. This information will be applied to all files sl@0: * with the listed creator and type. sl@0: */ sl@0: sl@0: resource 'kind' (128, "Tcl kind", purgeable) { sl@0: TCL_APP_CREATOR, sl@0: 0, /* region = USA */ sl@0: { sl@0: 'APPL', "Tcl Shell", sl@0: } sl@0: }; sl@0: sl@0: /* sl@0: * The following resource is used when creating the 'env' variable in sl@0: * the Macintosh environment. The creation mechanisim looks for the sl@0: * 'STR#' resource named "Tcl Environment Variables" rather than a sl@0: * specific resource number. (In other words, feel free to change the sl@0: * resource id if it conflicts with your application.) Each string in sl@0: * the resource must be of the form "KEYWORD=SOME STRING". See Tcl sl@0: * documentation for futher information about the env variable. sl@0: * sl@0: * A good example of something you may want to set is: "TCL_LIBRARY=My sl@0: * disk:etc." sl@0: */ sl@0: sl@0: resource 'STR#' (128, "Tcl Environment Variables") { sl@0: { sl@0: /* sl@0: "SCHEDULE_NAME=Agent Controller Schedule", sl@0: "SCHEDULE_PATH=Lozoya:System Folder:Tcl Lib:Tcl-Scheduler" sl@0: */ sl@0: }; sl@0: }; sl@0: sl@0: data 'alis' (1000, "Library Folder") { sl@0: $"0000 0000 00BA 0002 0001 012F 0000 0000" /* .....†...../.... */ sl@0: $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ sl@0: $"0000 0000 0000 985C FB00 4244 0000 0000" /* ......ς\š.BD.... */ sl@0: $"0002 1328 5375 7070 6F72 7420 4C69 6272" /* ...(Support Libr */ sl@0: $"6172 6965 7329 0000 0000 0000 0000 0000" /* aries).......... */ sl@0: $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ sl@0: $"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */ sl@0: $"0000 0076 8504 B617 A796 003D 0027 025B" /* ...vΦ..ίρ.=.'.[ */ sl@0: $"01E4 0001 0001 0000 0000 0000 0000 0000" /* .”.............. */ sl@0: $"0000 0000 0000 0000 0001 2F00 0002 0015" /* ........../..... */ sl@0: $"2F3A 2853 7570 706F 7274 204C 6962 7261" /* /:(Support Libra */ sl@0: $"7269 6573 2900 FFFF 0000" /* ries)... */ sl@0: }; sl@0: