diff options
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index b49a7bc706b..77f98938edb 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -18,7 +18,9 @@ GNU General Public License for more details. | |||
| 18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along 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 | ||
| 31 | struct glyph; | ||
| 32 | struct frame; | ||
| 33 | |||
| 34 | |||
| 35 | enum scroll_bar_part { | 33 | enum 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. */ |
| 50 | extern void (*fullscreen_hook) (struct frame *f); | 48 | extern void (*fullscreen_hook) (struct frame *f); |
| 51 | 49 | ||
| 52 | 50 | /* Output method of a terminal (and frames on this terminal, respectively). */ | |
| 51 | |||
| 52 | enum 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 | ||
| 55 | enum event_kind | 64 | enum event_kind |
| @@ -321,11 +330,6 @@ extern void term_mouse_moveto (int, int); | |||
| 321 | extern struct tty_display_info *gpm_tty; | 330 | extern struct tty_display_info *gpm_tty; |
| 322 | #endif | 331 | #endif |
| 323 | 332 | ||
| 324 | |||
| 325 | struct ns_display_info; | ||
| 326 | struct x_display_info; | ||
| 327 | struct w32_display_info; | ||
| 328 | |||
| 329 | /* Terminal-local parameters. */ | 333 | /* Terminal-local parameters. */ |
| 330 | struct terminal | 334 | struct terminal |
| 331 | { | 335 | { |
| @@ -660,3 +664,5 @@ extern void close_gpm (int gpm_fd); | |||
| 660 | #endif | 664 | #endif |
| 661 | 665 | ||
| 662 | INLINE_HEADER_END | 666 | INLINE_HEADER_END |
| 667 | |||
| 668 | #endif /* EMACS_TERMHOOKS_H */ | ||