include/SDL_syswm.h
changeset 8583 fb2933ca805f
parent 8155 cf0eda3f5e35
parent 8527 e3807733fad5
child 8603 fef61d2fd948
     1.1 --- a/include/SDL_syswm.h	Sun Mar 09 10:38:30 2014 -0700
     1.2 +++ b/include/SDL_syswm.h	Sun Mar 09 11:36:47 2014 -0700
     1.3 @@ -56,6 +56,10 @@
     1.4  #include <windows.h>
     1.5  #endif
     1.6  
     1.7 +#if defined(SDL_VIDEO_DRIVER_WINRT)
     1.8 +#include <Inspectable.h>
     1.9 +#endif
    1.10 +
    1.11  /* This is the structure for custom window manager events */
    1.12  #if defined(SDL_VIDEO_DRIVER_X11)
    1.13  #if defined(__APPLE__) && defined(__MACH__)
    1.14 @@ -90,6 +94,7 @@
    1.15  #include <UIKit/UIKit.h>
    1.16  #else
    1.17  typedef struct _UIWindow UIWindow;
    1.18 +typedef struct _UIViewController UIViewController;
    1.19  #endif
    1.20  #endif
    1.21  
    1.22 @@ -105,6 +110,7 @@
    1.23  {
    1.24      SDL_SYSWM_UNKNOWN,
    1.25      SDL_SYSWM_WINDOWS,
    1.26 +    SDL_SYSWM_WINRT,
    1.27      SDL_SYSWM_X11,
    1.28      SDL_SYSWM_DIRECTFB,
    1.29      SDL_SYSWM_COCOA,
    1.30 @@ -175,6 +181,12 @@
    1.31              HWND window;                /**< The window handle */
    1.32          } win;
    1.33  #endif
    1.34 +#if defined(SDL_VIDEO_DRIVER_WINRT)
    1.35 +        struct
    1.36 +        {
    1.37 +            IInspectable * window;      /**< The WinRT CoreWindow */
    1.38 +        } winrt;
    1.39 +#endif
    1.40  #if defined(SDL_VIDEO_DRIVER_X11)
    1.41          struct
    1.42          {