/*
* tclMacResource.r --
*
* This file creates resources for use in a simple shell.
* This is designed to be an example of using the Tcl libraries
* statically in a Macintosh Application. For an example of
* of using the dynamic libraries look at tclMacApplication.r.
*
* Copyright (c) 1993-94 Lockheed Missle & Space Company
* Copyright (c) 1994-97 Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: tclMacResource.r,v 1.4.2.1 2001/04/04 21:22:19 hobbs Exp $
*/
#include <Types.r>
#include <SysTypes.r>
/*
* The folowing include and defines help construct
* the version string for Tcl.
*/
#define RESOURCE_INCLUDED
#include "tcl.h"
#if (TCL_RELEASE_LEVEL == 0)
# define RELEASE_LEVEL alpha
#elif (TCL_RELEASE_LEVEL == 1)
# define RELEASE_LEVEL beta
#elif (TCL_RELEASE_LEVEL == 2)
# define RELEASE_LEVEL final
#endif
#if (TCL_RELEASE_LEVEL == 2)
# define MINOR_VERSION (TCL_MINOR_VERSION * 16) + TCL_RELEASE_SERIAL
#else
# define MINOR_VERSION TCL_MINOR_VERSION * 16
#endif
/*
* The mechanisim below loads Tcl source into the resource fork of the
* application. The example below creates a TEXT resource named
* "Init" from the file "init.tcl". This allows applications to use
* Tcl to define the behavior of the application without having to
* require some predetermined file structure - all needed Tcl "files"
* are located within the application. To source a file for the
* resource fork the source command has been modified to support
* sourcing from resources. In the below case "source -rsrc {Init}"
* will load the TEXT resource named "Init".
*/
#include "tclMacTclCode.r"
/*
* The following resource is used when creating the 'env' variable in
* the Macintosh environment. The creation mechanisim looks for the
* 'STR#' resource named "Tcl Environment Variables" rather than a
* specific resource number. (In other words, feel free to change the
* resource id if it conflicts with your application.) Each string in
* the resource must be of the form "KEYWORD=SOME STRING". See Tcl
* documentation for futher information about the env variable.
*
* A good example of something you may want to set is: "TCL_LIBRARY=My
* disk:etc."
*/
resource 'STR#' (128, "Tcl Environment Variables") {
{
/*
"SCHEDULE_NAME=Agent Controller Schedule",
"SCHEDULE_PATH=Lozoya:System Folder:Tcl Lib:Tcl-Scheduler"
*/
};
};
data 'alis' (1000, "Library Folder") {
$"0000 0000 00BA 0002 0001 012F 0000 0000" /* .....�...../.... */
$"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
$"0000 0000 0000 985C FB00 4244 0000 0000" /* ......�\�.BD.... */
$"0002 1328 5375 7070 6F72 7420 4C69 6272" /* ...(Support Libr */
$"6172 6965 7329 0000 0000 0000 0000 0000" /* aries).......... */
$"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
$"0000 0000 0000 0000 0000 0000 0000 0000" /* ................ */
$"0000 0076 8504 B617 A796 003D 0027 025B" /* ...v�.�.��.=.'.[ */
$"01E4 0001 0001 0000 0000 0000 0000 0000" /* .�.............. */
$"0000 0000 0000 0000 0001 2F00 0002 0015" /* ........../..... */
$"2F3A 2853 7570 706F 7274 204C 6962 7261" /* /:(Support Libra */
$"7269 6573 2900 FFFF 0000" /* ries).��.. */
};