diff 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
line wrap: on
line diff
--- a/src/power/SDL_power.c	Sun Jun 07 06:49:01 2009 +0000
+++ b/src/power/SDL_power.c	Sun Jun 07 22:44:59 2009 +0000
@@ -35,6 +35,7 @@
 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 @@
 #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