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 / defines.h < prev    next >
Text File  |  1993-11-18  |  2KB  |  73 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 _DEFINES_H_
  19. #define _DEFINES_H_
  20.  
  21. #define APPL_TYPE        (OSType)'$Tcl'
  22.  
  23. #define YIELD_ON    1
  24. #define YIELD_OFF    0
  25.  
  26. #define NOTIFY_SICN_BASE        714
  27. #define NOTIFY_ALL                (-1)
  28. enum NOTIFY_ENUM
  29.     {
  30.     NOTIFY_COPY_COMPLETE = 0,
  31.     NOTIFY_BINHEX,
  32.     NOTIFY_SIT,
  33.     NOTIFY_ZED,
  34.     NOTIFY_UU,
  35.     NOTIFY_NEED_DISK,
  36.     NOTIFY_COUNT
  37.     };
  38.     
  39. #define watchCursor                4
  40.  
  41. #define NUM_OF_NOTIFY_ICONS        ( (int)(NOTIFY_COUNT) )
  42. #define NOTIFY_ID(INDEX)        ( NOTIFY_SICN_BASE + (INDEX) )
  43.  
  44. #define SAMESTR            0
  45.  
  46. #define ALWAYS            1
  47. #define FOREVER            ;;
  48.  
  49. #define SAVEAS                2
  50. #define SAVE                1
  51. #define TOSS                0
  52. #define CANCEL                -1
  53.  
  54. #undef CANCEL
  55. #define SUCCESS            0
  56. #define FAILURE            -1
  57. #define CANCEL            -2
  58. #define ABORT            -3
  59. #define ABORTOP            ABORT
  60.  
  61. #define ERROR_BEEP        120
  62. #define NOTE_BEEP        30
  63. #define SHORT_BEEP        6
  64.  
  65. extern short                cursor_ibeam;
  66. #define UInitCursor()        { InitCursor(); cursor_ibeam = 0; }
  67. #define WatchCursorOn()        { SetCursor(*GetCursor(watchCursor)); cursor_ibeam = 0; }
  68.  
  69. extern    short            pause_op;
  70. extern int                cancel_current_op;
  71.  
  72. #endif
  73.