reactos/rosapps/mc/src/cons.saver.h
Steven Edwards e5c0c7185e Midnight Commander for Win32
svn path=/trunk/; revision=2456
2001-12-30 10:02:14 +00:00

30 lines
687 B
C

#ifndef __CONS_SAVER_H
#define __CONS_SAVER_H
#ifndef HAVE_X
enum {
CONSOLE_INIT = '1',
CONSOLE_DONE,
CONSOLE_SAVE,
CONSOLE_RESTORE,
CONSOLE_CONTENTS
};
extern signed char console_flag;
void show_console_contents (int starty, unsigned char begin_line, unsigned char end_line);
void handle_console (unsigned char action);
void show_rxvt_contents (int starty, unsigned char y1, unsigned char y2);
int look_for_rxvt_extensions (void);
/* Used only in the principal program */
extern int cons_saver_pid;
#else /* HAVE_X */
# define console_flag 0
# define show_console_contents(w,f,l) { }
# define handle_console(x) { }
#endif
#endif /* __CONS_SAVER_H */