Mercurial > emacs
annotate lwlib/lwlib-Xm.h @ 109380:1a678cf6a4cd
Fix the MS-DOS build; remove more "#ifdef subprocesses".
process.c <inhibit_sentinels>: Move to the common part.
(Fwaiting_for_user_input_p): Move to the common part; return nil
if async subprocesses aren't supported.
sysdep.c (wait_for_termination) [!MSDOS]: Don't compile on
MS-DOS. Remove "#ifdef subprocesses".
(sys_subshell, sys_select): Remove "#ifdef subprocesses".
(gettimeofday): Remove "#ifdef subprocesses".
(wait_without_blocking): Remove function.
(flush_pending_output, child_setup_tty): Don't compile on MS-DOS.
Remove "#ifdef subprocesses".
(child_setup_tty): Use WINDOWSNT instead of DOS_NT, since not
compiled on MS-DOS.
callproc.c (Fcall_process) [!MSDOS]: Don't call
wait_for_termination on MS-DOS.
emacs.c (shut_down_emacs): Remove "#ifndef subprocesses" from
initialization of inhibit_sentinels.
keyboard.c (record_asynch_buffer_change): Remove "#ifdef
subprocesses" conditional.
callproc.c (Fcall_process) [!subprocesses]: Don't call
wait_for_termination, since `buffer' cannot be an integer when
async subprocesses are not supported
xdisp.c (decode_mode_spec): Use `MSDOS' instead of `subprocesses'
for ifdefing away the call to Fprocess_status.
process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef
away the entire body of the function.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 13 Jul 2010 14:03:42 +0300 |
parents | e16f43875a48 |
children | ef719132ddfa |
rev | line source |
---|---|
60666
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
1 /* The lwlib interface to Motif widgets. |
76176
90400c6ecd12
Remove FSF copyright since file does not differ significantly from
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
2 Copyright (C) 1992 Lucid, Inc. |
60666
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
3 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
4 This file is part of the Lucid Widget Library. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
5 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
6 The Lucid Widget Library is free software; you can redistribute it and/or |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
7 modify it under the terms of the GNU General Public License as published by |
76215
2b21fb87e10a
Lucid Widget Library was released under GPLv1 or later.
Glenn Morris <rgm@gnu.org>
parents:
76176
diff
changeset
|
8 the Free Software Foundation; either version 1, or (at your option) |
60666
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
9 any later version. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
10 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
11 The Lucid Widget Library is distributed in the hope that it will be useful, |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
14 GNU General Public License for more details. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
15 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
17 along with GNU Emacs; see the file COPYING. If not, write to |
64083 | 18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 Boston, MA 02110-1301, USA. */ | |
60666
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
20 |
5626 | 21 #ifndef LWLIB_XM_H |
22 #define LWLIB_XM_H | |
23 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
24 #include "lwlib-int.h" |
5626 | 25 |
26 extern widget_creation_entry xm_creation_table []; | |
27 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
29466
diff
changeset
|
28 Widget |
109099 | 29 xm_create_dialog (widget_instance* instance); |
5626 | 30 |
31 Boolean | |
109099 | 32 lw_motif_widget_p (Widget widget); |
5626 | 33 |
34 void | |
109099 | 35 xm_update_one_widget (widget_instance* instance, Widget widget, |
36 widget_value* val, Boolean deep_p); | |
5626 | 37 |
38 void | |
109099 | 39 xm_update_one_value (widget_instance* instance, Widget widget, |
40 widget_value* val); | |
5626 | 41 |
42 void | |
109099 | 43 xm_destroy_instance (widget_instance* instance); |
5626 | 44 |
45 void | |
109099 | 46 xm_set_keyboard_focus (Widget parent, Widget w); |
5626 | 47 |
48 void | |
109099 | 49 xm_popup_menu (Widget widget, XEvent *event); |
5626 | 50 |
51 void | |
109099 | 52 xm_pop_instance (widget_instance* instance, Boolean up); |
5626 | 53 |
9091 | 54 void |
109099 | 55 xm_set_main_areas (Widget parent, Widget menubar, Widget work_area); |
9091 | 56 |
9225
9e28a8ef9cad
Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents:
9091
diff
changeset
|
57 void |
109099 | 58 xm_manage_resizing (Widget w, Boolean flag); |
9225
9e28a8ef9cad
Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents:
9091
diff
changeset
|
59 |
5626 | 60 #endif /* LWLIB_XM_H */ |
52401 | 61 |
62 /* arch-tag: 61561304-c146-437b-8ed3-dc33818703c6 | |
63 (do not change this comment) */ |