Mercurial > emacs
diff src/nsterm.h @ 97198:cf43f4e3ecc8
clear warnings and clean up NS port
author | Adrian Robert <Adrian.B.Robert@gmail.com> |
---|---|
date | Fri, 01 Aug 2008 14:01:08 +0000 |
parents | 30f1368d9cf6 |
children | 9ca52564cbea |
line wrap: on
line diff
--- a/src/nsterm.h Fri Aug 01 12:56:49 2008 +0000 +++ b/src/nsterm.h Fri Aug 01 14:01:08 2008 +0000 @@ -36,8 +36,14 @@ @interface EmacsApp : NSApplication { } +- (void)logNotification: (NSNotification *)notification; - (void)sendEvent: (NSEvent *)theEvent; - (void)showPreferencesWindow: (id)sender; +- (BOOL) openFile: (NSString *)fileName; +- (void)fd_handler: (NSTimer *) fdEntry; +- (void)cursor_blink_handler: (NSTimer *)cursorEntry; +- (void)timeout_handler: (NSTimer *)timedEntry; +- (BOOL)fulfillService: (NSString *)name withArg: (NSString *)arg; @end @@ -104,7 +110,7 @@ - (void)setFrame: (struct frame *)f; - (void)menuNeedsUpdate: (NSMenu *)menu; /* (delegate method) */ - (NSString *)parseKeyEquiv: (char *)key; -- (id <NSMenuItem>)addItemWithWidgetValue: (void *)wvptr; +- (NSMenuItem *)addItemWithWidgetValue: (void *)wvptr; - (void)fillWithWidgetValue: (void *)wvptr; - (EmacsMenu *)addSubmenuWithTitle: (char *)title forFrame: (struct frame *)f; - (void) clear; @@ -727,10 +733,6 @@ int size, int maxnames); extern void ns_clear_frame (struct frame *f); -#ifdef __OBJC__ -extern const char *ns_font_to_xlfd (NSFont *font); -#endif -extern const char *ns_fontname_to_xlfd (const char *name); extern const char *ns_xlfd_to_fontname (const char *xlfd); extern void check_ns (void);