diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-05-01 01:13:29 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-05-01 01:13:29 +0000 |
commit | a019c41a5cd58fcc8b518edcdfc46e04471fbff9 (patch) | |
tree | ea40dca9e5b0dcd32a352e6952aa1dc332a447d1 /src/macterm.h | |
parent | 458dbb8c7a5f3d3950529e05728b9327e50d7025 (diff) | |
download | emacs-a019c41a5cd58fcc8b518edcdfc46e04471fbff9.tar.gz emacs-a019c41a5cd58fcc8b518edcdfc46e04471fbff9.tar.bz2 emacs-a019c41a5cd58fcc8b518edcdfc46e04471fbff9.zip |
(mac_update_title_bar): Add extern.
(struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'.
(FRAME_FILE_NAME): New macro.
Diffstat (limited to 'src/macterm.h')
-rw-r--r-- | src/macterm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/macterm.h b/src/macterm.h index e35f04a6ba6..f23554f01c6 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -335,6 +335,11 @@ struct mac_output { /* Hints for the size and the position of a window. */ XSizeHints *size_hints; +#if TARGET_API_MAC_CARBON + /* File name for the proxy icon of this frame. Might be NULL. */ + char *file_name; +#endif + #if USE_CG_DRAWING /* Quartz 2D graphics context. */ CGContextRef cg_context; @@ -360,6 +365,8 @@ typedef struct mac_output mac_output; #define FRAME_SIZE_HINTS(f) ((f)->output_data.mac->size_hints) +#define FRAME_FILE_NAME(f) ((f)->output_data.mac->file_name) + /* This gives the mac_display_info structure for the display F is on. */ #define FRAME_MAC_DISPLAY_INFO(f) (&one_mac_display_info) #define FRAME_X_DISPLAY_INFO(f) (&one_mac_display_info) @@ -606,6 +613,7 @@ extern int x_char_width P_ ((struct frame *)); extern int x_char_height P_ ((struct frame *)); extern void x_sync P_ ((struct frame *)); extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); +extern void mac_update_title_bar P_ ((struct frame *, int)); /* Defined in macmenu.c */ |