src/power/SDL_power.c
changeset 6448 64a6297a8b93
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
equal deleted inserted replaced
6447:33f87072db4d 6448:64a6297a8b93
    34 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState *, int *, int *);
    34 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState *, int *, int *);
    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_BeOS(SDL_PowerState *, int *, int *);
    36 SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState *, int *, int *);
    37 SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState *, int *, int *);
    37 SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState *, int *, int *);
    38 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
    38 SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState *, int *, int *);
       
    39 SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *);
    39 
    40 
    40 #ifndef SDL_POWER_DISABLED
    41 #ifndef SDL_POWER_DISABLED
    41 #ifdef SDL_POWER_HARDWIRED
    42 #ifdef SDL_POWER_HARDWIRED
    42 /* This is for things that _never_ have a battery */
    43 /* This is for things that _never_ have a battery */
    43 static SDL_bool
    44 static SDL_bool
    71     SDL_GetPowerInfo_NintendoDS,
    72     SDL_GetPowerInfo_NintendoDS,
    72 #endif
    73 #endif
    73 #ifdef SDL_POWER_BEOS           /* handles BeOS, Zeta, with euc.jp apm driver. */
    74 #ifdef SDL_POWER_BEOS           /* handles BeOS, Zeta, with euc.jp apm driver. */
    74     SDL_GetPowerInfo_BeOS,
    75     SDL_GetPowerInfo_BeOS,
    75 #endif
    76 #endif
       
    77 #ifdef SDL_POWER_ANDROID        /* handles Android. */
       
    78     SDL_GetPowerInfo_Android,
       
    79 #endif
    76 #ifdef SDL_POWER_HARDWIRED
    80 #ifdef SDL_POWER_HARDWIRED
    77     SDL_GetPowerInfo_Hardwired,
    81     SDL_GetPowerInfo_Hardwired,
    78 #endif
    82 #endif
    79 #endif
    83 #endif
    80 };
    84 };