home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / mc-3.2 / mc-3 / mc-3.2.1 / src / cons.saver.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-17  |  605 b   |  30 lines

  1. #ifndef __CONS_SAVER_H
  2. #define __CONS_SAVER_H
  3.  
  4. #if defined(linux) || defined(__linux__) || defined(_OS_NT)
  5.  
  6.     enum {
  7.     CONSOLE_INIT = '1',
  8.     CONSOLE_DONE,
  9.     CONSOLE_SAVE,
  10.     CONSOLE_RESTORE,
  11.     CONSOLE_CONTENTS
  12.     };
  13.  
  14.     extern signed char console_flag;
  15.     void show_console_contents (int starty, int begin_line, int end_line);
  16.     void handle_console (int action);
  17.  
  18. #else
  19.  
  20. #   define console_flag 0
  21. #   define show_console_contents(w,f,l) { }
  22. #   define handle_console(x) { } 
  23.     
  24. #endif /* #ifdef linux */
  25.  
  26. /* Used only in the principal program */
  27. extern int cons_saver_pid;
  28.  
  29. #endif    /* __CONS_SAVER_H */
  30.