ftp.nice.ch/pub/next/developer/languages/scheme/Schematik.1.1.5.2.N.s.tar.gz#/Schematik_1.1.5.2/Main.subproj/SchemeProtocol.h

This is SchemeProtocol.h in view mode; [Download] [Up]

/* Copyright   1991 Gustavus Adolphus College.  All rights reserved.
 *
 * Schematik was developed by Gustavus Adolphus College (GAC) with
 * support from NeXT Computer, Inc.  Permission to copy this software,
 * to redistribute it, and to use it for any purpose is granted,
 * subject to the following restrictions and understandings.
 *
 * 1. Any copy made of this software must include this copyright
 * notice in full.
 *
 * 2. Users of this software agree to make their best efforts (a) to
 * return to the GAC Mathematics and Computer Science Department any
 * improvements or extensions that they make, so that these may be
 * included in future releases; and (b) to inform GAC of noteworthy
 * uses of this software.
 *
 * 3. All materials developed as a consequence of the use of this
 * software shall duly acknowledge such use, in accordance with the
 * usual standards of acknowledging credit in academic research.
 *
 * 4. GAC makes no express or implied warranty or representation of
 * any kind with respect to this software, including any warranty
 * that the operation of this software will be error-free.  ANY
 * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
 * PURPOSE IS HEREBY DISCLAIMED.  GAC is under no obligation to
 * provide any services, by way of maintenance, update, or otherwise.
 *
 * 5. In conjunction with products arising from the use of this
 * material, there shall be no use of the name of Gustavus Adolphus
 * College nor of any adaptation thereof in any advertising,
 * promotional, or sales literature without prior written consent
 * from GAC in each case.
 */

#import <objc/Object.h>

extern int schemePid;

@interface SchemeProtocol:Object
{
    id	interactionWin;
}

- init;

@end

@interface SchemeProtocol (SchemeProcess)

- (int)schemePid;
- send:(STR)aString;
- sendNul;
- sendSignal:(int)aSignal;
- sendGraphicsWindow:(int)windowNum;
- terminate:sender withPrejudice:(BOOL)aBoolean;

@end

@interface SchemeProtocol (InteractionWindow)

- sendMessage:(STR)aString;
- sendQuery:(STR)aString;
- sendValue:(STR)aString;
- sendSpecialValue:(STR)aString withHashCode:(STR)hashString;
- sendGraphics:(STR)aString;
- sendOutput:(STR)aString;
- sendPrompt:(STR)aString;
- sendError:(STR)aString;
- showRunState:(int)aState;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.