4 * Copyright (C) 2001 Eric Pouech
7 #ifndef __WINE_SERVER_CONSOLE_H
8 #define __WINE_SERVER_CONSOLE_H
11 struct console_input_events;
15 struct object obj; /* object header */
16 int num_proc; /* number of processes attached to this console */
17 struct process *renderer; /* console renderer thread */
18 int mode; /* input mode */
19 struct screen_buffer *active; /* active screen buffer */
20 int recnum; /* number of input records */
21 void *records; /* input records */
22 struct console_input_events *evt; /* synchronization event with renderer */
23 WCHAR *title; /* console title */
24 WCHAR **history; /* lines history */
25 int history_size; /* number of entries in history array */
26 int history_index; /* number of used entries in history array */
27 int history_mode; /* mode of history (non zero means remove doubled strings */
30 /* console functions */
32 extern void inherit_console(struct process *parent, struct process *process, handle_t hconin);
33 extern int free_console( struct process *process );
35 #endif /* __WINE_SERVER_CONSOLE_H */