X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/02cbe062bee38a6705bafb1699d77e3c44cfafcf..b8ff87cc584b41ba7cc6b45a45c764e173b4cddf:/src/termhooks.h diff --git a/src/termhooks.h b/src/termhooks.h index 7ff1a2ca11..1be9a1b45b 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -4,10 +4,10 @@ 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 @@ -15,20 +15,13 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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 . */ /* Miscellanea. */ struct glyph; struct frame; - -/* Only use prototypes when lisp.h has been included. */ -#ifndef P_ -#define P_(X) () -#endif enum scroll_bar_part { @@ -325,6 +318,8 @@ extern struct tty_display_info *gpm_tty; struct mac_display_info; +struct ns_display_info; +struct x_display_info; struct w32_display_info; /* Terminal-local parameters. */ @@ -363,6 +358,11 @@ struct terminal struct kboard *kboard; #endif +#ifdef HAVE_WINDOW_SYSTEM + /* Cache of images. */ + struct image_cache *image_cache; +#endif /* HAVE_WINDOW_SYSTEM */ + /* Device-type dependent data shared amongst all frames on this terminal. */ union display_info { @@ -370,6 +370,7 @@ struct terminal 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;