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 / XPROC.h < prev    next >
Text File  |  1993-11-18  |  1KB  |  45 lines

  1. /*
  2. ** This source code was written by Tim Endres
  3. ** Email: time@ice.com.
  4. ** USMail: 8840 Main Street, Whitmore Lake, MI  48189
  5. **
  6. ** Some portions of this application utilize sources
  7. ** that are copyrighted by ICE Engineering, Inc., and
  8. ** ICE Engineering retains all rights to those sources.
  9. **
  10. ** Neither ICE Engineering, Inc., nor Tim Endres, 
  11. ** warrants this source code for any reason, and neither
  12. ** party assumes any responsbility for the use of these
  13. ** sources, libraries, or applications. The user of these
  14. ** sources and binaries assumes all responsbilities for
  15. ** any resulting consequences.
  16. */
  17.  
  18. #ifndef __DIALOGS__
  19. #include <Dialogs.h>
  20. #endif
  21.  
  22.  
  23. #define ucNoErr                0
  24. #define ucCancelErr            -1
  25. #define ucNoAddrErr            1001
  26.  
  27. #define XPROC_CB_VERSION    0x00010001
  28.  
  29. /*
  30. ** This is the interface for text selection resource commands.
  31. */
  32. typedef struct {
  33.     long        version;        /* Version of the Cmd interface. */
  34.     Tcl_Interp    *interp;        /* Interpreter calling this XTCL. */
  35.     int            (*eval)();        /* Callback procedure (C) for tcl script evaluation */
  36.     DescType    reserved1;
  37.     DescType    reserved2;
  38.     long        reserved3;
  39.     } XPROCParmBlk, *XPROCPBPtr;
  40.  
  41. #define XPROC_FAILURE            0
  42. #define XPROC_SUCCESS            1
  43. #define XPROC_REQ_UNKNOWN        -1
  44.  
  45.