home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
online
/
source
/
c
/
compilers
/
Tickle-4.0.sit.hqx
/
Tickle-4.0
/
src
/
XTCL.h
< prev
next >
Wrap
Text File
|
1993-11-18
|
1KB
|
48 lines
/*
** This source code was written by Tim Endres
** Email: time@ice.com.
** USMail: 8840 Main Street, Whitmore Lake, MI 48189
**
** Some portions of this application utilize sources
** that are copyrighted by ICE Engineering, Inc., and
** ICE Engineering retains all rights to those sources.
**
** Neither ICE Engineering, Inc., nor Tim Endres,
** warrants this source code for any reason, and neither
** party assumes any responsbility for the use of these
** sources, libraries, or applications. The user of these
** sources and binaries assumes all responsbilities for
** any resulting consequences.
*/
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
#define ucNoErr 0
#define ucCancelErr -1
#define ucNoAddrErr 1001
#define XTCL_CB_VERSION 0x00010001
/*
** This is the interface for text selection resource commands.
*/
typedef struct {
long version; /* Version of the Cmd interface. */
long result; /* CMD's operation result code. */
Handle resultH; /* CMD's result handle. */
short cmdRefNum; /* Cmd file reference number. */
Handle cmdHandle; /* CMD's command code handle. */
Tcl_Interp *interp; /* Interpreter calling this XTCL. */
int (*eval)(); /* Callback procedure (C) for tcl script evaluation */
ModalFilterProcPtr modalproc; /* Routine for ModalDialog() to keep background. */
long reserved;
} XTCLParmBlk, *XTCLPBPtr;
#define XTCL_FAILURE 0
#define XTCL_SUCCESS 1
#define XTCL_REQ_UNKNOWN -1