src/power/SDL_power.c
changeset 8611 a762dfc67e1a
parent 8149 681eb46b8ac4
child 8820 0e935d5b193a
equal deleted inserted replaced
8608:c5d603f7094e 8611:a762dfc67e1a
    35 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState *, int *, int *);
    35 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState *, int *, int *);
    36 SDL_bool SDL_GetPowerInfo_Haiku(SDL_PowerState *, int *, int *);
    36 SDL_bool SDL_GetPowerInfo_Haiku(SDL_PowerState *, int *, int *);
    37 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
    37 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
    38 SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
    38 SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
    39 SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
    39 SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
       
    40 SDL_bool SDL_GetPowerInfo_WinRT(SDL_PowerState *, int *, int *);
    40 
    41 
    41 #ifndef SDL_POWER_DISABLED
    42 #ifndef SDL_POWER_DISABLED
    42 #ifdef SDL_POWER_HARDWIRED
    43 #ifdef SDL_POWER_HARDWIRED
    43 /* This is for things that _never_ have a battery */
    44 /* This is for things that _never_ have a battery */
    44 static SDL_bool
    45 static SDL_bool
    75     SDL_GetPowerInfo_Android,
    76     SDL_GetPowerInfo_Android,
    76 #endif
    77 #endif
    77 #ifdef SDL_POWER_PSP        /* handles PSP. */
    78 #ifdef SDL_POWER_PSP        /* handles PSP. */
    78     SDL_GetPowerInfo_PSP,
    79     SDL_GetPowerInfo_PSP,
    79 #endif
    80 #endif
       
    81 #ifdef SDL_POWER_WINRT          /* handles WinRT */
       
    82     SDL_GetPowerInfo_WinRT,
       
    83 #endif
    80 
    84 
    81 #ifdef SDL_POWER_HARDWIRED
    85 #ifdef SDL_POWER_HARDWIRED
    82     SDL_GetPowerInfo_Hardwired,
    86     SDL_GetPowerInfo_Hardwired,
    83 #endif
    87 #endif
    84 #endif
    88 #endif