From 3c46399248132d63c4662855c504ea7b0518de4a Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Mon, 12 Oct 2009 00:26:45 +0000 Subject: [PATCH] (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip): Add formal protocol mention to inheritance. [NS_HAVE_NSINTEGER]: Drop conditional and contents. --- src/nsterm.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/nsterm.h b/src/nsterm.h index 9663051f8b7..d247f900950 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -54,7 +54,7 @@ along with GNU Emacs. If not, see . */ @class EmacsToolbar; -@interface EmacsView : NSView +@interface EmacsView : NSView { char *old_title; BOOL windowClosing; @@ -104,7 +104,7 @@ along with GNU Emacs. If not, see . */ ========================================================================== */ -@interface EmacsMenu : NSMenu +@interface EmacsMenu : NSMenu { struct frame *frame; unsigned long keyEquivModMask; @@ -131,7 +131,7 @@ along with GNU Emacs. If not, see . */ @class EmacsImage; -@interface EmacsToolbar : NSToolbar +@interface EmacsToolbar : NSToolbar { EmacsView *emacsView; NSMutableDictionary *identifierToItem; @@ -174,7 +174,7 @@ along with GNU Emacs. If not, see . */ - (Lisp_Object)runDialogAt: (NSPoint)p; @end -@interface EmacsTooltip : NSObject +@interface EmacsTooltip : NSObject { NSWindow *win; NSTextField *textField; @@ -328,11 +328,6 @@ extern EmacsMenu *mainMenu, *svcsMenu, *dockMenu; @end #endif -#ifndef NS_HAVE_NSINTEGER -typedef long NSInteger; -typedef unsigned long NSUInteger; -#endif /* not NS_HAVE_NSINTEGER */ - #endif /* __OBJC__ */ -- 2.39.5