include/SDL_syswm.h
changeset 7282 df78adc8ba04
parent 7200 54c9f310f7c0
child 7455 0a988affc7e7
equal deleted inserted replaced
7281:cd5516b9263d 7282:df78adc8ba04
    80 #if defined(SDL_VIDEO_DRIVER_COCOA)
    80 #if defined(SDL_VIDEO_DRIVER_COCOA)
    81 #ifdef __OBJC__
    81 #ifdef __OBJC__
    82 #include <Cocoa/Cocoa.h>
    82 #include <Cocoa/Cocoa.h>
    83 #else
    83 #else
    84 typedef struct _NSWindow NSWindow;
    84 typedef struct _NSWindow NSWindow;
    85 typedef struct _NSView NSView;
       
    86 #endif
    85 #endif
    87 #endif
    86 #endif
    88 
    87 
    89 #if defined(SDL_VIDEO_DRIVER_UIKIT)
    88 #if defined(SDL_VIDEO_DRIVER_UIKIT)
    90 #ifdef __OBJC__
    89 #ifdef __OBJC__
   186 #endif
   185 #endif
   187 #if defined(SDL_VIDEO_DRIVER_COCOA)
   186 #if defined(SDL_VIDEO_DRIVER_COCOA)
   188         struct
   187         struct
   189         {
   188         {
   190             NSWindow *window;           /* The Cocoa window */
   189             NSWindow *window;           /* The Cocoa window */
   191             NSView *view;               /* The Cocoa view */
       
   192         } cocoa;
   190         } cocoa;
   193 #endif
   191 #endif
   194 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   192 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   195         struct
   193         struct
   196         {
   194         {