diff options
author | Adrian Robert <Adrian.B.Robert@gmail.com> | 2008-08-01 14:01:08 +0000 |
---|---|---|
committer | Adrian Robert <Adrian.B.Robert@gmail.com> | 2008-08-01 14:01:08 +0000 |
commit | 150349607cf648e78d34aa16ef1d43d774bc6044 (patch) | |
tree | 7d57cf5f3e5163c7ea3019b9527409df771efe42 /src/nsterm.h | |
parent | 27ec92c98304e2b61dc20a1db65972b0eb00d4cc (diff) | |
download | emacs-150349607cf648e78d34aa16ef1d43d774bc6044.tar.gz |
clear warnings and clean up NS port
Diffstat (limited to 'src/nsterm.h')
-rw-r--r-- | src/nsterm.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index bb8beac378c..a9dc32793f4 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -36,8 +36,14 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ @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 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ - (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 @@ extern Lisp_Object ns_list_fonts (FRAME_PTR f, Lisp_Object pattern, 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); |