This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
+GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA. */
+along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
\f
/* Miscellanea. */
HORIZ_WHEEL_EVENT, /* A wheel event generated by a second
horizontal wheel that is present on some
mice. See WHEEL_EVENT. */
-#if defined (WINDOWSNT) || defined (MAC_OS)
+#if defined (WINDOWSNT)
LANGUAGE_CHANGE_EVENT, /* A LANGUAGE_CHANGE_EVENT is
generated on WINDOWSNT or Mac OS
when the keyboard layout or input
save yourself before shutdown. */
SAVE_SESSION_EVENT
-#ifdef MAC_OS
- /* Generated when an Apple event, a HICommand event, or a Services
- menu event is received and the corresponding handler is
- registered. Members `x' and `y' are for the event class and ID
- symbols, respectively. Member `arg' is a Lisp object converted
- from the received Apple event. Parameters for non-Apple events
- are converted to those in Apple events. */
- , MAC_APPLE_EVENT
-#endif
-
#ifdef HAVE_GPM
, GPM_CLICK_EVENT
#endif
#endif /* CONSP */
\f
-struct mac_display_info;
+struct ns_display_info;
+struct x_display_info;
struct w32_display_info;
/* Terminal-local parameters. */
times. */
char *name;
-#ifdef MULTI_KBOARD
/* The terminal's keyboard object. */
struct kboard *kboard;
-#endif
#ifdef HAVE_WINDOW_SYSTEM
/* Cache of images. */
struct tty_display_info *tty; /* termchar.h */
struct x_display_info *x; /* xterm.h */
struct w32_display_info *w32; /* w32term.h */
- struct mac_display_info *mac; /* macterm.h */
+ struct ns_display_info *ns; /* nsterm.h */
} display_info;
\f
#ifdef HAVE_NTGUI
#define FRAME_WINDOW_P(f) FRAME_W32_P (f)
#endif
-#ifdef MAC_OS
-#define FRAME_WINDOW_P(f) FRAME_MAC_P (f)
-#endif
#ifndef FRAME_WINDOW_P
#define FRAME_WINDOW_P(f) (0)
#endif
/* Return true if the terminal device is not suspended. */
-#define TERMINAL_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input)
+#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input)
extern Lisp_Object get_terminal_param P_ ((struct terminal *, Lisp_Object));
extern struct terminal *get_terminal P_ ((Lisp_Object terminal, int));
/* The initial terminal device, created by initial_term_init. */
extern struct terminal *initial_terminal;
+#ifdef HAVE_GPM
+extern void close_gpm (void);
+#endif
+
/* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d
(do not change this comment) */