BeOS support for power subsystem.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403631
This commit is contained in:
parent
1099f4e405
commit
2af9ddbafd
4 changed files with 137 additions and 0 deletions
|
@ -35,6 +35,7 @@ SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState*, int*, int*);
|
|||
SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState*, int*, int*);
|
||||
SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState*, int*, int*);
|
||||
SDL_bool SDL_GetPowerInfo_OS2(SDL_PowerState*, int*, int*);
|
||||
SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState*, int*, int*);
|
||||
SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState*, int*, int*);
|
||||
|
||||
#ifndef SDL_POWER_DISABLED
|
||||
|
@ -71,6 +72,9 @@ static SDL_GetPowerInfo_Impl implementations[] = {
|
|||
#ifdef SDL_POWER_NINTENDODS /* handles Nintendo DS. */
|
||||
SDL_GetPowerInfo_NintendoDS,
|
||||
#endif
|
||||
#ifdef SDL_POWER_BEOS /* handles BeOS, Zeta, with euc.jp apm driver. */
|
||||
SDL_GetPowerInfo_BeOS,
|
||||
#endif
|
||||
#ifdef SDL_POWER_HARDWIRED
|
||||
SDL_GetPowerInfo_Hardwired,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue