Mercurial > sdl-ios-xcode
comparison src/power/SDL_power.c @ 3173:510e3f36c04a
BeOS support for power subsystem.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 07 Jun 2009 22:44:59 +0000 |
parents | b7a48f533966 |
children | c8b9c6d27476 |
comparison
equal
deleted
inserted
replaced
3172:f0191bd9f99c | 3173:510e3f36c04a |
---|---|
33 SDL_bool SDL_GetPowerInfo_Linux_proc_apci(SDL_PowerState*, int*, int*); | 33 SDL_bool SDL_GetPowerInfo_Linux_proc_apci(SDL_PowerState*, int*, int*); |
34 SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState*, int*, int*); | 34 SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState*, int*, int*); |
35 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState*, int*, int*); | 35 SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState*, int*, int*); |
36 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState*, int*, int*); | 36 SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState*, int*, int*); |
37 SDL_bool SDL_GetPowerInfo_OS2(SDL_PowerState*, int*, int*); | 37 SDL_bool SDL_GetPowerInfo_OS2(SDL_PowerState*, int*, int*); |
38 SDL_bool SDL_GetPowerInfo_BeOS(SDL_PowerState*, int*, int*); | |
38 SDL_bool SDL_GetPowerInfo_NintendoDS(SDL_PowerState*, int*, int*); | 39 SDL_bool SDL_GetPowerInfo_NintendoDS(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, like the Dreamcast, etc. */ | 43 /* This is for things that _never_ have a battery, like the Dreamcast, etc. */ |
68 #ifdef SDL_POWER_OS2 /* handles OS/2, Warp, eComStation. */ | 69 #ifdef SDL_POWER_OS2 /* handles OS/2, Warp, eComStation. */ |
69 SDL_GetPowerInfo_OS2, | 70 SDL_GetPowerInfo_OS2, |
70 #endif | 71 #endif |
71 #ifdef SDL_POWER_NINTENDODS /* handles Nintendo DS. */ | 72 #ifdef SDL_POWER_NINTENDODS /* handles Nintendo DS. */ |
72 SDL_GetPowerInfo_NintendoDS, | 73 SDL_GetPowerInfo_NintendoDS, |
74 #endif | |
75 #ifdef SDL_POWER_BEOS /* handles BeOS, Zeta, with euc.jp apm driver. */ | |
76 SDL_GetPowerInfo_BeOS, | |
73 #endif | 77 #endif |
74 #ifdef SDL_POWER_HARDWIRED | 78 #ifdef SDL_POWER_HARDWIRED |
75 SDL_GetPowerInfo_Hardwired, | 79 SDL_GetPowerInfo_Hardwired, |
76 #endif | 80 #endif |
77 #endif | 81 #endif |