OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [mac/] [tclMacOSA.r] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.