src/video/cocoa/SDL_cocoawindow.h
changeset 5374 dacb4f5e0dd3
parent 5371 fc3d3d580777
child 5375 16877f74123c
equal deleted inserted replaced
5373:02007fd16991 5374:dacb4f5e0dd3
    27 #import <Cocoa/Cocoa.h>
    27 #import <Cocoa/Cocoa.h>
    28 
    28 
    29 typedef struct SDL_WindowData SDL_WindowData;
    29 typedef struct SDL_WindowData SDL_WindowData;
    30 
    30 
    31 /* *INDENT-OFF* */
    31 /* *INDENT-OFF* */
       
    32 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
       
    33 @interface Cocoa_WindowListener : NSResponder <NSWindowDelegate> {
       
    34 #else
    32 @interface Cocoa_WindowListener : NSResponder {
    35 @interface Cocoa_WindowListener : NSResponder {
       
    36 #endif
    33     SDL_WindowData *_data;
    37     SDL_WindowData *_data;
    34 }
    38 }
    35 
    39 
    36 -(void) listen:(SDL_WindowData *) data;
    40 -(void) listen:(SDL_WindowData *) data;
    37 -(void) close;
    41 -(void) close;