213
|
1 /* Console functions for mswindows.
|
|
2 Copyright (C) 1996 Ben Wing.
|
|
3
|
|
4 This file is part of XEmacs.
|
|
5
|
|
6 XEmacs is free software; you can redistribute it and/or modify it
|
|
7 under the terms of the GNU General Public License as published by the
|
|
8 Free Software Foundation; either version 2, or (at your option) any
|
|
9 later version.
|
|
10
|
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Synched up with: Not in FSF. */
|
|
22
|
|
23 /* Authorship:
|
|
24
|
|
25 Ben Wing: January 1996, for 19.14.
|
|
26 Rewritten for mswindows by Jonathan Harris, November 1997 for 20.4.
|
|
27 */
|
|
28
|
|
29 #include <config.h>
|
|
30 #include "lisp.h"
|
|
31
|
|
32 #include "console-msw.h"
|
|
33
|
|
34 DEFINE_CONSOLE_TYPE (mswindows);
|
|
35
|
|
36
|
|
37 static int
|
|
38 mswindows_initially_selected_for_input (struct console *con)
|
|
39 {
|
|
40 return 1;
|
|
41 }
|
|
42
|
|
43
|
|
44
|
|
45
|
|
46 /************************************************************************/
|
|
47 /* initialization */
|
|
48 /************************************************************************/
|
|
49
|
|
50 void
|
|
51 syms_of_console_mswindows (void)
|
|
52 {
|
|
53 }
|
|
54
|
|
55 void
|
|
56 console_type_create_mswindows (void)
|
|
57 {
|
|
58 INITIALIZE_CONSOLE_TYPE (mswindows, "mswindows", "console-mswindows-p");
|
|
59
|
|
60 /* console methods */
|
|
61 /* CONSOLE_HAS_METHOD (mswindows, init_console); */
|
|
62 /* CONSOLE_HAS_METHOD (mswindows, mark_console); */
|
|
63 CONSOLE_HAS_METHOD (mswindows, initially_selected_for_input);
|
|
64 /* CONSOLE_HAS_METHOD (mswindows, delete_console); */
|
|
65 /* CONSOLE_HAS_METHOD (mswindows, canonicalize_console_connection); */
|
|
66 /* CONSOLE_HAS_METHOD (mswindows, canonicalize_device_connection); */
|
|
67 /* CONSOLE_HAS_METHOD (mswindows, semi_canonicalize_console_connection); */
|
|
68 /* CONSOLE_HAS_METHOD (mswindows, semi_canonicalize_device_connection); */
|
|
69 }
|
|
70
|
|
71 void
|
|
72 vars_of_console_mswindows (void)
|
|
73 {
|
|
74 Fprovide (Qmswindows);
|
|
75 }
|