include/SDL_power.h
changeset 3428 78475292e059
parent 3407 d3baf5ac4e37
child 3697 f7b03b6838cb
equal deleted inserted replaced
3427:36cf454ba065 3428:78475292e059
    46 {
    46 {
    47     SDL_POWERSTATE_UNKNOWN,      /**< cannot determine power status */
    47     SDL_POWERSTATE_UNKNOWN,      /**< cannot determine power status */
    48     SDL_POWERSTATE_ON_BATTERY,   /**< Not plugged in, running on the battery */
    48     SDL_POWERSTATE_ON_BATTERY,   /**< Not plugged in, running on the battery */
    49     SDL_POWERSTATE_NO_BATTERY,   /**< Plugged in, no battery available */
    49     SDL_POWERSTATE_NO_BATTERY,   /**< Plugged in, no battery available */
    50     SDL_POWERSTATE_CHARGING,     /**< Plugged in, charging battery */
    50     SDL_POWERSTATE_CHARGING,     /**< Plugged in, charging battery */
    51     SDL_POWERSTATE_CHARGED,      /**< Plugged in, battery charged */
    51     SDL_POWERSTATE_CHARGED       /**< Plugged in, battery charged */
    52 } SDL_PowerState;
    52 } SDL_PowerState;
    53 
    53 
    54 
    54 
    55 /**
    55 /**
    56  *  \brief Get the current power supply details.
    56  *  \brief Get the current power supply details.