src/video/cocoa/SDL_cocoawindow.h
changeset 3400 4ec48602f1db
parent 2859 99210400e8b9
child 3413 4b1f10cfd304
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.h	Tue Oct 13 20:17:11 2009 +0000
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.h	Sat Oct 17 07:36:45 2009 +0000
     1.3 @@ -24,10 +24,16 @@
     1.4  #ifndef _SDL_cocoawindow_h
     1.5  #define _SDL_cocoawindow_h
     1.6  
     1.7 +#import <Cocoa/Cocoa.h>
     1.8 +
     1.9  typedef struct SDL_WindowData SDL_WindowData;
    1.10  
    1.11  /* *INDENT-OFF* */
    1.12 -@interface Cocoa_WindowListener:NSResponder {
    1.13 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
    1.14 +@interface Cocoa_WindowListener : NSResponder <NSWindowDelegate> {
    1.15 +#else
    1.16 +@interface Cocoa_WindowListener : NSResponder {
    1.17 +#endif		
    1.18      SDL_WindowData *_data;
    1.19  }
    1.20