include/SDL_power.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_power.h	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/include/SDL_power.h	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -24,7 +24,7 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL_power.h
     1.7 - *  
     1.8 + *
     1.9   *  Header for the SDL power management routines.
    1.10   */
    1.11  
    1.12 @@ -33,9 +33,7 @@
    1.13  #include "begin_code.h"
    1.14  /* Set up for C function definitions, even when using C++ */
    1.15  #ifdef __cplusplus
    1.16 -/* *INDENT-OFF* */
    1.17  extern "C" {
    1.18 -/* *INDENT-ON* */
    1.19  #endif
    1.20  
    1.21  /**
    1.22 @@ -53,24 +51,22 @@
    1.23  
    1.24  /**
    1.25   *  \brief Get the current power supply details.
    1.26 - *  
    1.27 + *
    1.28   *  \param secs Seconds of battery life left. You can pass a NULL here if
    1.29   *              you don't care. Will return -1 if we can't determine a
    1.30   *              value, or we're not running on a battery.
    1.31 - *  
    1.32 + *
    1.33   *  \param pct Percentage of battery life left, between 0 and 100. You can
    1.34   *             pass a NULL here if you don't care. Will return -1 if we
    1.35   *             can't determine a value, or we're not running on a battery.
    1.36 - *  
    1.37 + *
    1.38   *  \return The state of the battery (if any).
    1.39   */
    1.40  extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
    1.41  
    1.42  /* Ends C function definitions when using C++ */
    1.43  #ifdef __cplusplus
    1.44 -/* *INDENT-OFF* */
    1.45  }
    1.46 -/* *INDENT-ON* */
    1.47  #endif
    1.48  #include "close_code.h"
    1.49