diff options
| author | Joakim Verona | 2013-09-10 23:52:26 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-10 23:52:26 +0200 |
| commit | 63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c (patch) | |
| tree | e5078c5545c777e21944a9ee4199a6f2c6d25ca9 /src/termhooks.h | |
| parent | 92aeabcc8a007f521a664e3aee092eb80ad0f49a (diff) | |
| download | emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.tar.gz emacs-63dae8e97d343fd4ebfe3dc08f0e8dc932630a4c.zip | |
merge upstream
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 b22367b6751..e47d9701229 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 |
| @@ -324,11 +333,6 @@ extern void term_mouse_moveto (int, int); | |||
| 324 | extern struct tty_display_info *gpm_tty; | 333 | extern struct tty_display_info *gpm_tty; |
| 325 | #endif | 334 | #endif |
| 326 | 335 | ||
| 327 | |||
| 328 | struct ns_display_info; | ||
| 329 | struct x_display_info; | ||
| 330 | struct w32_display_info; | ||
| 331 | |||
| 332 | /* Terminal-local parameters. */ | 336 | /* Terminal-local parameters. */ |
| 333 | struct terminal | 337 | struct terminal |
| 334 | { | 338 | { |
| @@ -663,3 +667,5 @@ extern void close_gpm (int gpm_fd); | |||
| 663 | #endif | 667 | #endif |
| 664 | 668 | ||
| 665 | INLINE_HEADER_END | 669 | INLINE_HEADER_END |
| 670 | |||
| 671 | #endif /* EMACS_TERMHOOKS_H */ | ||