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