home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / word / text / 019 / misc.h < prev    next >
C/C++ Source or Header  |  1993-01-19  |  1KB  |  47 lines

  1. #ifndef _JED_MISC_H_
  2. #define _JED_MISC_H_
  3. /*
  4.  *  Copyright (c) 1992 John E. Davis  (davis@amy.tch.harvard.edu)
  5.  *  All Rights Reserved.
  6.  */
  7. #include "window.h"
  8.  
  9. extern void exit_error(char *);
  10. extern void msg_error(char *);
  11. extern void message(char *);
  12. extern void exit_error(char *);
  13. extern void read_string(char *, int *);
  14. extern void do_error(void);
  15. extern void clear_error(void);
  16. extern int jed_getkey(void);
  17.  
  18. extern int begin_keyboard_macro(void);
  19. extern int macro_query(void);
  20. extern int end_keyboard_macro(void);
  21. extern int execute_keyboard_macro(void);
  22.  
  23. extern int Defining_Keyboard_Macro;
  24. extern int Executing_Keyboard_Macro;
  25.  
  26. extern char Error_Buffer[132];
  27. extern char Message_Buffer[132];
  28.  
  29. /* information needed by minibuffer and display routines */
  30. typedef struct MiniInfo_Type
  31.   {
  32.      Window_Type *action_window;   /* buffer for minibuffer action */
  33.      char prompt[132];
  34.      int prompt_len;
  35.   }
  36. MiniInfo_Type;
  37.  
  38. extern MiniInfo_Type Mini_Info;
  39.  
  40. extern volatile int KeyBoard_Quit;
  41. extern int Exit_From_MiniBuffer;
  42.  
  43. extern int read_from_minibuffer(char *, char *, char *);
  44. #define IS_MINIBUFFER (Window->top == Screen_Height)
  45. #endif
  46.  
  47.