oleaut32: Typelib interfaces with the FDUAL flag should also be registered,
[wine/hacks.git] / server / console.h
blob3864ee9026abe873d16bc103faa4d56c2eb908cf
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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 */
44 int edition_mode; /* index to edition mode flavors */
45 struct event *event; /* event to wait on for input queue */
48 /* console functions */
50 extern void inherit_console(struct thread *parent_thread, struct process *process, obj_handle_t hconin);
51 extern int free_console( struct process *process );
53 #endif /* __WINE_SERVER_CONSOLE_H */