home *** CD-ROM | disk | FTP | other *** search
/ WordPerfect for Linux Bible / WP4LinuxBible.iso / sdk / wpc / code / unixtpi.h < prev    next >
Text File  |  1999-06-25  |  2KB  |  34 lines

  1. /*H_SOURCE_FILE**************************************************************
  2. name    Third party interface prototypes
  3. title   third.h
  4.  
  5.   Copyright (C) 1989 WordPerfect Corp., All Rights Reserved
  6.   COMPANY CONFIDENTIAL -- NOT FOR DISTRIBUTION
  7. ----------------------------------------------------------------------------
  8. *END************************************************************************/
  9.  
  10. /* SCCS Version Information */
  11. /* @(#) wpthird.h 1.3 3/12/93 10:18:00 */
  12.  
  13. /* flags for initialization sequence */
  14. #define THR_BACKGRND    1    /* WpApp can operate in background mode */
  15.  
  16. /* flags to check bits in the state word */
  17. #define MAIN    (unsigned long)0x4        /* In main editing screen */
  18. #define SUB        (unsigned long)0x8        /* In sub doc editing screen */
  19. #define MACDEF    (unsigned long)0x10        /* Macro being defined */
  20. #define MACEXE    (unsigned long)0x20        /* Macro being executed */
  21. #define MERGE    (unsigned long)0x40        /* Merge active */
  22. #define BLOCK    (unsigned long)0x80        /* Block on */
  23. #define TYPOVR    (unsigned long)0x100        /* Typeover mode active */
  24. #define REVEAL    (unsigned long)0x200        /* Reveal codes active */
  25. #define YESNO    (unsigned long)0x400        /* Yes/no prompt active */
  26. #define LIST    (unsigned long)0x800        /* List active */
  27. #define HELP    (unsigned long)0x1000        /* In Help */
  28. #define    TSHELL    (unsigned long)0x2000        /* Cannot go to shell or UNIX */
  29. #define DOCBITS    (unsigned long)0xf0000    /* bits occupied by document number */
  30. #define DOCSHFT    (unsigned long)16            /* bits to shift document number */
  31. #define    POLLING    (unsigned long)0x100000    /* Set if WP is about to read */
  32.                                         /* a character */
  33. #define EXITING    (unsigned long)0xffffffff    /* WP is about to exit */
  34.