aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJoakim Verona2013-09-10 23:52:26 +0200
committerJoakim Verona2013-09-10 23:52:26 +0200
commit63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c (patch)
treee5078c5545c777e21944a9ee4199a6f2c6d25ca9 /src/termhooks.h
parent92aeabcc8a007f521a664e3aee092eb80ad0f49a (diff)
downloademacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.tar.gz
emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.zip
merge upstream
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index b22367b6751..e47d9701229 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -18,7 +18,9 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21#ifndef EMACS_TERMHOOKS_H
22#define EMACS_TERMHOOKS_H
23
22/* Miscellanea. */ 24/* Miscellanea. */
23 25
24#include "systime.h" /* for Time */ 26#include "systime.h" /* for Time */
@@ -28,10 +30,6 @@ INLINE_HEADER_BEGIN
28# define TERMHOOKS_INLINE INLINE 30# define TERMHOOKS_INLINE INLINE
29#endif 31#endif
30 32
31struct glyph;
32struct frame;
33
34
35enum scroll_bar_part { 33enum scroll_bar_part {
36 scroll_bar_above_handle, 34 scroll_bar_above_handle,
37 scroll_bar_handle, 35 scroll_bar_handle,
@@ -49,7 +47,18 @@ enum scroll_bar_part {
49 may do something OS dependent, like extended window manager hints on X11. */ 47 may do something OS dependent, like extended window manager hints on X11. */
50extern void (*fullscreen_hook) (struct frame *f); 48extern void (*fullscreen_hook) (struct frame *f);
51 49
52 50/* Output method of a terminal (and frames on this terminal, respectively). */
51
52enum output_method
53{
54 output_initial,
55 output_termcap,
56 output_x_window,
57 output_msdos_raw,
58 output_w32,
59 output_ns
60};
61
53/* Input queue declarations and hooks. */ 62/* Input queue declarations and hooks. */
54 63
55enum event_kind 64enum event_kind
@@ -324,11 +333,6 @@ extern void term_mouse_moveto (int, int);
324extern struct tty_display_info *gpm_tty; 333extern struct tty_display_info *gpm_tty;
325#endif 334#endif
326 335
327
328struct ns_display_info;
329struct x_display_info;
330struct w32_display_info;
331
332/* Terminal-local parameters. */ 336/* Terminal-local parameters. */
333struct terminal 337struct terminal
334{ 338{
@@ -663,3 +667,5 @@ extern void close_gpm (int gpm_fd);
663#endif 667#endif
664 668
665INLINE_HEADER_END 669INLINE_HEADER_END
670
671#endif /* EMACS_TERMHOOKS_H */