src/video/uikit/SDL_uikitwindow.h
branchgsoc2008_iphone
changeset 2399 d904584ea86d
parent 2354 2e4fea4a4416
equal deleted inserted replaced
2398:92de010929a6 2399:d904584ea86d
    23 
    23 
    24 #ifndef _SDL_uikitwindow_h
    24 #ifndef _SDL_uikitwindow_h
    25 #define _SDL_uikitwindow_h
    25 #define _SDL_uikitwindow_h
    26 
    26 
    27 #include "../SDL_sysvideo.h"
    27 #include "../SDL_sysvideo.h"
       
    28 #import "SDL_uikitopenglview.h"
       
    29 
       
    30 typedef struct SDL_WindowData SDL_WindowData;
    28 
    31 
    29 extern int UIKit_CreateWindow(_THIS, SDL_Window *window);
    32 extern int UIKit_CreateWindow(_THIS, SDL_Window *window);
    30 extern void UIKit_DestroyWindow(_THIS, SDL_Window * window);
    33 extern void UIKit_DestroyWindow(_THIS, SDL_Window * window);
    31 
    34 
       
    35 @class UIWindow;
       
    36 
       
    37 struct SDL_WindowData
       
    38 {
       
    39     SDL_WindowID windowID;
       
    40     UIWindow *uiwindow;
       
    41 	SDL_uikitopenglview *view;
       
    42 };
       
    43 
       
    44 
    32 #endif /* _SDL_uikitwindow_h */
    45 #endif /* _SDL_uikitwindow_h */
    33 
    46 
    34 /* vi: set ts=4 sw=4 expandtab: */
    47 /* vi: set ts=4 sw=4 expandtab: */