src/power/SDL_power.c
changeset 4444 42e1092225f9
parent 3697 f7b03b6838cb
child 5262 b530ef003506
     1.1 --- a/src/power/SDL_power.c	Thu Apr 29 22:53:18 2010 -0400
     1.2 +++ b/src/power/SDL_power.c	Fri Apr 30 00:39:31 2010 -0400
     1.3 @@ -36,6 +36,7 @@
     1.4  SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState *, int *, int *);
     1.5  SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState *, int *, int *);
     1.6  SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState *, int *, int *);
     1.7 +SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
     1.8  
     1.9  #ifndef SDL_POWER_DISABLED
    1.10  #ifdef SDL_POWER_HARDWIRED
    1.11 @@ -61,7 +62,10 @@
    1.12  #ifdef SDL_POWER_WINDOWS        /* handles Win32, Win64, PocketPC. */
    1.13      SDL_GetPowerInfo_Windows,
    1.14  #endif
    1.15 -#ifdef SDL_POWER_MACOSX         /* handles Mac OS X, Darwin, iPhone. */
    1.16 +#ifdef SDL_POWER_UIKIT          /* handles iPhone/iPad/etc */
    1.17 +    SDL_GetPowerInfo_UIKit,
    1.18 +#endif
    1.19 +#ifdef SDL_POWER_MACOSX         /* handles Mac OS X, Darwin. */
    1.20      SDL_GetPowerInfo_MacOSX,
    1.21  #endif
    1.22  #ifdef SDL_POWER_NINTENDODS     /* handles Nintendo DS. */