1 #ifndef __XWPE_H 2 #define __XWPE_H 3 /*-------------------------------------------------------------------------*\ 4 <Xwpe.h> -- Header file for core Xwpe functions 5 6 Date Programmer Description 7 04/27/97 Dennis Created for xwpe reorganization. 8 \*-------------------------------------------------------------------------*/ 9 10 typedef enum wpeMouseShape { 11 WpeEditingShape, WpeDebuggingShape, WpeWorkingShape, WpeErrorShape, 12 WpeSelectionShape, WpeLastShape 13 } WpeMouseShape; 14 15 /* Checks if programming editor is running (old variable currently used) */ 16 #define WpeIsProg() (e_we_sw & 2) 17 18 /* Checks if x windows is running (old variable currently used) */ 19 #define WpeIsXwin() (e_we_sw & 1) 20 21 #define WpeMalloc(x) malloc(x) 22 #define WpeRealloc(x, y) realloc(x, y) 23 #define WpeFree(x) free(x) 24 25 #endif 26 27