os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacAETE.r
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2  * tclMacAETE.r --
     3  *
     4  *	This file creates the Apple Event Terminology resources 
     5  *	for use Tcl and Tk.  It is not used in the Simple Tcl shell
     6  *      since SIOUX does not support AppleEvents.  An example of its
     7  *      use in Tcl is the TclBGOnly project.  And it is used in all the
     8  *      Tk Shells.
     9  *
    10  * Copyright (c) 1997 Sun Microsystems, Inc.
    11  *
    12  * See the file "license.terms" for information on usage and redistribution
    13  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    14  *
    15  * RCS: @(#) $Id: tclMacAETE.r,v 1.2 1998/09/14 18:40:04 stanton Exp $
    16  */
    17 
    18 #define SystemSevenOrLater 1
    19 
    20 #include <Types.r>
    21 #include <SysTypes.r>
    22 #include <AEUserTermTypes.r>
    23 
    24 /*
    25  * The following resources defines the Apple Events that Tk can be
    26  * sent from Apple Script.
    27  */
    28 
    29 resource 'aete' (0, "Wish Suite") {
    30     0x01, 0x00, english, roman,
    31     {
    32 	"Required Suite", 
    33 	"Events that every application should support", 
    34 	'reqd', 1, 1,
    35 	{},
    36 	{},
    37 	{},
    38 	{},
    39 
    40 	"Wish Suite", "Events for the Wish application", 'WIsH', 1, 1,
    41 	{
    42 	    "do script", "Execute a Tcl script", 'misc', 'dosc',
    43 	    'TEXT', "Result", replyOptional, singleItem,
    44 	    notEnumerated, reserved, reserved, reserved, reserved,
    45 	    reserved, reserved, reserved, reserved, reserved,
    46 	    reserved, reserved, reserved, reserved, 
    47 	    'TEXT', "Script to execute", directParamRequired,
    48 	    singleItem, notEnumerated, changesState, reserved,
    49 	    reserved, reserved, reserved, reserved, reserved,
    50 	    reserved, reserved, reserved, reserved, reserved,
    51 	    reserved, 
    52 	    {},
    53 	},
    54 	{},
    55 	{},
    56 	{},
    57     }
    58 };