aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Robert2009-10-16 03:09:06 +0000
committerAdrian Robert2009-10-16 03:09:06 +0000
commit5cca5bf08fe504bd75898f744d5fe80cc0e9ad29 (patch)
tree0ee7e18b0ea617d39943b84c4ebfc1365823a452 /src
parentca515f00ea69d44445db65492ab1d0b56694b384 (diff)
downloademacs-5cca5bf08fe504bd75898f744d5fe80cc0e9ad29.tar.gz
emacs-5cca5bf08fe504bd75898f744d5fe80cc0e9ad29.zip
(NS_HAVE_NSINTEGER): Back out and augment with CGFloat, still needed under Tiger.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index d247f900950..29d312a4840 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -54,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
54 54
55@class EmacsToolbar; 55@class EmacsToolbar;
56 56
57@interface EmacsView : NSView <NSTextInput,NSWindowDelegate> 57@interface EmacsView : NSView <NSTextInput> /* 10.6+: NSWindowDelegate */
58 { 58 {
59 char *old_title; 59 char *old_title;
60 BOOL windowClosing; 60 BOOL windowClosing;
@@ -104,7 +104,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
104 104
105 ========================================================================== */ 105 ========================================================================== */
106 106
107@interface EmacsMenu : NSMenu <NSMenuDelegate> 107@interface EmacsMenu : NSMenu /* 10.6+: <NSMenuDelegate> */
108{ 108{
109 struct frame *frame; 109 struct frame *frame;
110 unsigned long keyEquivModMask; 110 unsigned long keyEquivModMask;
@@ -131,7 +131,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
131 131
132@class EmacsImage; 132@class EmacsImage;
133 133
134@interface EmacsToolbar : NSToolbar <NSToolbarDelegate> 134@interface EmacsToolbar : NSToolbar /* 10.6+: <NSToolbarDelegate> */
135 { 135 {
136 EmacsView *emacsView; 136 EmacsView *emacsView;
137 NSMutableDictionary *identifierToItem; 137 NSMutableDictionary *identifierToItem;
@@ -174,7 +174,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
174- (Lisp_Object)runDialogAt: (NSPoint)p; 174- (Lisp_Object)runDialogAt: (NSPoint)p;
175@end 175@end
176 176
177@interface EmacsTooltip : NSObject <NSWindowDelegate> 177@interface EmacsTooltip : NSObject /* 10.6+: <NSWindowDelegate> */
178 { 178 {
179 NSWindow *win; 179 NSWindow *win;
180 NSTextField *textField; 180 NSTextField *textField;
@@ -328,6 +328,18 @@ extern EmacsMenu *mainMenu, *svcsMenu, *dockMenu;
328@end 328@end
329#endif 329#endif
330 330
331#ifndef NS_HAVE_NSINTEGER
332#if defined(__LP64__) && __LP64__
333typedef double CGFloat;
334typedef long NSInteger;
335typedef unsigned long NSUInteger;
336#else
337typedef float CGFloat;
338typedef int NSInteger;
339typedef unsigned int NSUInteger;
340#endif /* not LP64 */
341#endif /* not NS_HAVE_NSINTEGER */
342
331#endif /* __OBJC__ */ 343#endif /* __OBJC__ */
332 344
333 345