1.1 --- a/src/video/winrt/SDL_winrtevents.cpp Sun Sep 01 10:20:17 2013 -0400
1.2 +++ b/src/video/winrt/SDL_winrtevents.cpp Mon Sep 02 15:23:33 2013 -0400
1.3 @@ -22,9 +22,19 @@
1.4
1.5 #if SDL_VIDEO_DRIVER_WINRT
1.6
1.7 -/* SDL includes */
1.8 +/*
1.9 + * Windows includes:
1.10 + */
1.11 +#include <Windows.h>
1.12 +using namespace Windows::UI::Core;
1.13 +using Windows::UI::Core::CoreCursor;
1.14 +
1.15 +/*
1.16 + * SDL includes:
1.17 + */
1.18 #include "SDL_winrtevents_c.h"
1.19 #include "../../core/winrt/SDL_winrtapp.h"
1.20 +#include "../../core/winrt/SDL_winrtxaml_cpp.h"
1.21 #include "SDL_assert.h"
1.22 #include "SDL_system.h"
1.23
1.24 @@ -34,10 +44,8 @@
1.25 }
1.26
1.27
1.28 -/* Forward declarations and globals */
1.29 -extern SDL_WinRTApp ^ SDL_WinRTGlobalApp;
1.30 -extern int (*WINRT_XAMLAppMainFunction)(int, char **);
1.31 -extern void WINRT_YieldXAMLThread();
1.32 +/* Forward declarations */
1.33 +static void WINRT_YieldXAMLThread();
1.34
1.35
1.36 /* Global event management */
1.37 @@ -135,7 +143,6 @@
1.38 }
1.39 }
1.40
1.41 -
1.42 #endif /* SDL_VIDEO_DRIVER_WINRT */
1.43
1.44 /* vi: set ts=4 sw=4 expandtab: */