# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1146446009 0 # Node ID 5efeadbe7324339f10a352f0f2b18b65e9d8fd62 # Parent 085795461ed07f5773656729e67fe792187824c1 (mac_update_title_bar): Add extern. (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. (FRAME_FILE_NAME): New macro. diff -r 085795461ed0 -r 5efeadbe7324 src/macterm.h --- a/src/macterm.h Mon May 01 01:13:06 2006 +0000 +++ b/src/macterm.h Mon May 01 01:13:29 2006 +0000 @@ -335,6 +335,11 @@ /* 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 @@ #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_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 */