annotate nt/inc/grp.h @ 93072:e54658ddb618

* w32fns.c (hourglass_timer, hourglass_hwnd): New variables. (syms_of_w32fns): Initialize them. (HOURGLASS_ID): New constant. (x_window_to_frame): Don't check hourglass_window. (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer. (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor. (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor. (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor. Only change the cursor if hourglass is not active. (Fx_create_frame): Initialize frame's current_cursor. (hourglass_atimer): Remove. (hourglass_started): New function. (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32. (show_hourglass): Adapt to w32, changing argument to frame. * w32term.h (struct w32_output): Remove hourglass_window. Add current_cursor. * eval.c (call_debugger, Fsignal): * keyboard.c (recursive_edit_1, cmd_error, Ftop_level) (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector) (Fexecute_extended_command, cancel_hourglass_unwind): * minibuf.c (read_minibuf): * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
author Jason Rumney <jasonr@gnu.org>
date Wed, 19 Mar 2008 17:02:46 +0000
parents cafbd43e54ad
children 606f2d163a64 f108de597672
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
1 /* Replacement grp.h file for building GNU Emacs on Windows.
79734
cafbd43e54ad Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78245
diff changeset
2 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
cafbd43e54ad Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78245
diff changeset
3 Free Software Foundation, Inc.
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
4
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
5 This file is part of GNU Emacs.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
6
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
78245
e81c6ee81dfa Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75348
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
10 any later version.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
11
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
15 GNU General Public License for more details.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
16
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
18 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
20 Boston, MA 02110-1301, USA. */
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
21
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
22 #ifndef _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
23 #define _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
24
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
25 #include <pwd.h> /* gid_t defined here */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
26
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
27 /* Emacs uses only gr_name */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
28 struct group {
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
29 char *gr_name; /* group name */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
30 };
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
31
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
32 struct group *getgrgid(gid_t);
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
33
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
34 #endif /* _GRP_H */
53155
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
35
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
36 /* arch-tag: 82840357-7946-4a87-9c97-c0281b49aca3
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
37 (do not change this comment) */