sl@0: /*
sl@0:  * tkMacOSA.r --
sl@0:  *
sl@0:  *	This file creates resources used by the AppleScript package.
sl@0:  *
sl@0:  * Copyright (c) 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: tclMacOSA.r,v 1.5 2001/12/27 22:46:24 das Exp $
sl@0:  */
sl@0: 
sl@0: #include <Types.r>
sl@0: #include <SysTypes.r>
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 SCRIPT_MAJOR_VERSION 1		/* Major number */
sl@0: #define SCRIPT_MINOR_VERSION  1		/* Minor number */
sl@0: #define SCRIPT_RELEASE_SERIAL  0	/* Really minor number! */
sl@0: #define RELEASE_LEVEL final		/* alpha, beta, or final */
sl@0: #define SCRIPT_VERSION "1.1"
sl@0: #define SCRIPT_PATCH_LEVEL "1.1.0"
sl@0: #define FINAL 1				/* Change to 1 if final version. */
sl@0: 
sl@0: #if FINAL
sl@0: #   define MINOR_VERSION (SCRIPT_MINOR_VERSION * 16) + SCRIPT_RELEASE_SERIAL
sl@0: #   define RELEASE_CODE 0x00
sl@0: #else
sl@0: #   define MINOR_VERSION SCRIPT_MINOR_VERSION * 16
sl@0: #   define RELEASE_CODE SCRIPT_RELEASE_SERIAL
sl@0: #endif
sl@0: 
sl@0: #define RELEASE_CODE 0x00
sl@0: 
sl@0: resource 'vers' (1) {
sl@0: 	SCRIPT_MAJOR_VERSION, MINOR_VERSION,
sl@0: 	RELEASE_LEVEL, RELEASE_CODE, verUS,
sl@0: 	SCRIPT_PATCH_LEVEL,
sl@0: 	SCRIPT_PATCH_LEVEL ", by Jim Ingham © Cygnus Solutions" "\n" "© 2001 Tcl Core Team"
sl@0: };
sl@0: 
sl@0: resource 'vers' (2) {
sl@0: 	SCRIPT_MAJOR_VERSION, MINOR_VERSION,
sl@0: 	RELEASE_LEVEL, RELEASE_CODE, verUS,
sl@0: 	SCRIPT_PATCH_LEVEL,
sl@0: 	"Tclapplescript " SCRIPT_PATCH_LEVEL " © 1996-2001"
sl@0: };
sl@0: 
sl@0: /*
sl@0:  * The -16397 string will be displayed by Finder when a user
sl@0:  * tries to open the shared library. The string should
sl@0:  * give the user a little detail about the library's capabilities
sl@0:  * and enough information to install the library in the correct location.  
sl@0:  * A similar string should be placed in all shared libraries.
sl@0:  */
sl@0: resource 'STR ' (-16397, purgeable) {
sl@0: 	"TclAppleScript Library\n\n"
sl@0: 	"This library provides the ability to run AppleScript "
sl@0: 	" commands from Tcl/Tk programs.  To work properly, it "
sl@0: 	"should be placed in the ŒTool Command Language¹ folder "
sl@0: 	"within the Extensions folder."
sl@0: };
sl@0: 
sl@0: 
sl@0: /* 
sl@0:  * We now load the Tk library into the resource fork of the library.
sl@0:  */
sl@0: 
sl@0: data 'TEXT' (4000,"pkgIndex",purgeable, preload) {
sl@0: 	"# Tcl package index file, version 1.0\n"
sl@0: 	"package ifneeded Tclapplescript 1.1 [list tclPkgSetup $dir Tclapplescript 1.1 {{Tclapplescript" 
sl@0: 	".shlb load AppleScript}}]\n"
sl@0: };