src/power/SDL_power.c
changeset 8611 a762dfc67e1a
parent 8149 681eb46b8ac4
child 8820 0e935d5b193a
     1.1 --- a/src/power/SDL_power.c	Tue Mar 11 12:40:31 2014 -0400
     1.2 +++ b/src/power/SDL_power.c	Wed Mar 12 11:57:15 2014 -0400
     1.3 @@ -37,6 +37,7 @@
     1.4  SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
     1.5  SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
     1.6  SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
     1.7 +SDL_bool SDL_GetPowerInfo_WinRT(SDL_PowerState *, int *, int *);
     1.8  
     1.9  #ifndef SDL_POWER_DISABLED
    1.10  #ifdef SDL_POWER_HARDWIRED
    1.11 @@ -77,6 +78,9 @@
    1.12  #ifdef SDL_POWER_PSP        /* handles PSP. */
    1.13      SDL_GetPowerInfo_PSP,
    1.14  #endif
    1.15 +#ifdef SDL_POWER_WINRT          /* handles WinRT */
    1.16 +    SDL_GetPowerInfo_WinRT,
    1.17 +#endif
    1.18  
    1.19  #ifdef SDL_POWER_HARDWIRED
    1.20      SDL_GetPowerInfo_Hardwired,