diff include/SDL_power.h @ 3407:d3baf5ac4e37

Partial fix for bug #859 Header file update from Ken for improved doxygen output
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Oct 2009 13:31:58 +0000
parents b7a48f533966
children 78475292e059
line wrap: on
line diff
--- a/include/SDL_power.h	Sun Oct 18 23:21:15 2009 +0000
+++ b/include/SDL_power.h	Mon Oct 19 13:31:58 2009 +0000
@@ -24,9 +24,9 @@
 #define _SDL_power_h
 
 /**
- * \file SDL_power.h
- *
- * Header for the SDL power management routines
+ *  \file SDL_power.h
+ *  
+ *  Header for the SDL power management routines.
  */
 
 #include "SDL_stdinc.h"
@@ -40,9 +40,7 @@
 #endif
 
 /**
- * \enum SDL_PowerState
- *
- * \brief The basic state for the system's power supply.
+ *  \brief The basic state for the system's power supply.
  */
 typedef enum
 {
@@ -55,19 +53,17 @@
 
 
 /**
- * \fn int SDL_GetPowerInfo(void)
- *
- * \brief Get the current power supply details.
- *
- * \param secs Seconds of battery life left. You can pass a NULL here if
- *                you don't care. Will return -1 if we can't determine a
- *                value, or we're not running on a battery.
- *
- * \param pct Percentage of battery life left, between 0 and 100. You can
- *                pass a NULL here if you don't care. Will return -1 if we
- *                can't determine a value, or we're not running on a battery.
- *
- * \return The state of the battery (if any).
+ *  \brief Get the current power supply details.
+ *  
+ *  \param secs Seconds of battery life left. You can pass a NULL here if
+ *              you don't care. Will return -1 if we can't determine a
+ *              value, or we're not running on a battery.
+ *  
+ *  \param pct Percentage of battery life left, between 0 and 100. You can
+ *             pass a NULL here if you don't care. Will return -1 if we
+ *             can't determine a value, or we're not running on a battery.
+ *  
+ *  \return The state of the battery (if any).
  */
 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);