Move the name directive from the .spec file to the Makefile.
[wine/gsoc_dplay.git] / server / console.h
blob7ac1ea3cb166a4b5d25a1761289e6a78e990a5c9
1 /*
2 * Wine server consoles
4 * Copyright (C) 2001 Eric Pouech
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_SERVER_CONSOLE_H
22 #define __WINE_SERVER_CONSOLE_H
24 #include "wincon.h"
26 struct screen_buffer;
27 struct console_input_events;
29 struct console_input
31 struct object obj; /* object header */
32 int num_proc; /* number of processes attached to this console */
33 struct thread *renderer; /* console renderer thread */
34 int mode; /* input mode */
35 struct screen_buffer *active; /* active screen buffer */
36 int recnum; /* number of input records */
37 INPUT_RECORD *records; /* input records */
38 struct console_input_events *evt; /* synchronization event with renderer */
39 WCHAR *title; /* console title */
40 WCHAR **history; /* lines history */
41 int history_size; /* number of entries in history array */
42 int history_index; /* number of used entries in history array */
43 int history_mode; /* mode of history (non zero means remove doubled strings */
46 /* console functions */
48 extern void inherit_console(struct thread *parent_thread, struct process *process, obj_handle_t hconin);
49 extern int free_console( struct process *process );
51 #endif /* __WINE_SERVER_CONSOLE_H */