os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacOSA.r
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/*
sl@0
     2
 * tkMacOSA.r --
sl@0
     3
 *
sl@0
     4
 *	This file creates resources used by the AppleScript package.
sl@0
     5
 *
sl@0
     6
 * Copyright (c) 1997 Sun Microsystems, Inc.
sl@0
     7
 *
sl@0
     8
 * See the file "license.terms" for information on usage and redistribution
sl@0
     9
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
sl@0
    10
 *
sl@0
    11
 * RCS: @(#) $Id: tclMacOSA.r,v 1.5 2001/12/27 22:46:24 das Exp $
sl@0
    12
 */
sl@0
    13
sl@0
    14
#include <Types.r>
sl@0
    15
#include <SysTypes.r>
sl@0
    16
sl@0
    17
/*
sl@0
    18
 * The folowing include and defines help construct
sl@0
    19
 * the version string for Tcl.
sl@0
    20
 */
sl@0
    21
sl@0
    22
#define SCRIPT_MAJOR_VERSION 1		/* Major number */
sl@0
    23
#define SCRIPT_MINOR_VERSION  1		/* Minor number */
sl@0
    24
#define SCRIPT_RELEASE_SERIAL  0	/* Really minor number! */
sl@0
    25
#define RELEASE_LEVEL final		/* alpha, beta, or final */
sl@0
    26
#define SCRIPT_VERSION "1.1"
sl@0
    27
#define SCRIPT_PATCH_LEVEL "1.1.0"
sl@0
    28
#define FINAL 1				/* Change to 1 if final version. */
sl@0
    29
sl@0
    30
#if FINAL
sl@0
    31
#   define MINOR_VERSION (SCRIPT_MINOR_VERSION * 16) + SCRIPT_RELEASE_SERIAL
sl@0
    32
#   define RELEASE_CODE 0x00
sl@0
    33
#else
sl@0
    34
#   define MINOR_VERSION SCRIPT_MINOR_VERSION * 16
sl@0
    35
#   define RELEASE_CODE SCRIPT_RELEASE_SERIAL
sl@0
    36
#endif
sl@0
    37
sl@0
    38
#define RELEASE_CODE 0x00
sl@0
    39
sl@0
    40
resource 'vers' (1) {
sl@0
    41
	SCRIPT_MAJOR_VERSION, MINOR_VERSION,
sl@0
    42
	RELEASE_LEVEL, RELEASE_CODE, verUS,
sl@0
    43
	SCRIPT_PATCH_LEVEL,
sl@0
    44
	SCRIPT_PATCH_LEVEL ", by Jim Ingham © Cygnus Solutions" "\n" "© 2001 Tcl Core Team"
sl@0
    45
};
sl@0
    46
sl@0
    47
resource 'vers' (2) {
sl@0
    48
	SCRIPT_MAJOR_VERSION, MINOR_VERSION,
sl@0
    49
	RELEASE_LEVEL, RELEASE_CODE, verUS,
sl@0
    50
	SCRIPT_PATCH_LEVEL,
sl@0
    51
	"Tclapplescript " SCRIPT_PATCH_LEVEL " © 1996-2001"
sl@0
    52
};
sl@0
    53
sl@0
    54
/*
sl@0
    55
 * The -16397 string will be displayed by Finder when a user
sl@0
    56
 * tries to open the shared library. The string should
sl@0
    57
 * give the user a little detail about the library's capabilities
sl@0
    58
 * and enough information to install the library in the correct location.  
sl@0
    59
 * A similar string should be placed in all shared libraries.
sl@0
    60
 */
sl@0
    61
resource 'STR ' (-16397, purgeable) {
sl@0
    62
	"TclAppleScript Library\n\n"
sl@0
    63
	"This library provides the ability to run AppleScript "
sl@0
    64
	" commands from Tcl/Tk programs.  To work properly, it "
sl@0
    65
	"should be placed in the ŒTool Command Languageč folder "
sl@0
    66
	"within the Extensions folder."
sl@0
    67
};
sl@0
    68
sl@0
    69
sl@0
    70
/* 
sl@0
    71
 * We now load the Tk library into the resource fork of the library.
sl@0
    72
 */
sl@0
    73
sl@0
    74
data 'TEXT' (4000,"pkgIndex",purgeable, preload) {
sl@0
    75
	"# Tcl package index file, version 1.0\n"
sl@0
    76
	"package ifneeded Tclapplescript 1.1 [list tclPkgSetup $dir Tclapplescript 1.1 {{Tclapplescript" 
sl@0
    77
	".shlb load AppleScript}}]\n"
sl@0
    78
};