cocoaTouch/SDLOverrides/SDL_uikitwindow.h
changeset 2772 1965eba10be6
parent 2714 c85ffe57d971
equal deleted inserted replaced
2771:477957a89881 2772:1965eba10be6
    17  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    17  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18  
    18  
    19  Sam Lantinga, mods for Hedgewars by Vittorio Giovara
    19  Sam Lantinga, mods for Hedgewars by Vittorio Giovara
    20  slouken@libsdl.org, vittorio.giovara@gmail.com
    20  slouken@libsdl.org, vittorio.giovara@gmail.com
    21  */
    21  */
    22 #include "SDL_config.h"
       
    23 
    22 
    24 #ifndef _SDL_uikitwindow_h
    23 #import "SDL_config.h"
    25 #define _SDL_uikitwindow_h
       
    26 
       
    27 #include "../SDL_sysvideo.h"
       
    28 #import "SDL_uikitopenglview.h"
    24 #import "SDL_uikitopenglview.h"
       
    25 //#import "../SDL_sysvideo.h"
    29 
    26 
    30 typedef struct SDL_WindowData SDL_WindowData;
    27 typedef struct SDL_WindowData SDL_WindowData;
    31 
    28 
    32 extern int UIKit_CreateWindow(_THIS, SDL_Window * window);
    29 extern int UIKit_CreateWindow(_THIS, SDL_Window * window);
    33 extern void UIKit_DestroyWindow(_THIS, SDL_Window * window);
    30 extern void UIKit_DestroyWindow(_THIS, SDL_Window * window);
    39     SDL_Window *window;
    36     SDL_Window *window;
    40     UIWindow *uiwindow;
    37     UIWindow *uiwindow;
    41     SDL_uikitopenglview *view;
    38     SDL_uikitopenglview *view;
    42 };
    39 };
    43 
    40 
    44 
       
    45 #endif /* _SDL_uikitwindow_h */
       
    46 
       
    47 /* vi: set ts=4 sw=4 expandtab: */
    41 /* vi: set ts=4 sw=4 expandtab: */