/Users/hercules/trunk/SDL/include/SDL_power.h File Reference

#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Enumerations

enum  SDL_PowerState {
  SDL_POWERSTATE_UNKNOWN, SDL_POWERSTATE_ON_BATTERY, SDL_POWERSTATE_NO_BATTERY, SDL_POWERSTATE_CHARGING,
  SDL_POWERSTATE_CHARGED
}
 The basic state for the system's power supply. More...

Functions

DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo (int *secs, int *pct)


Detailed Description

Header for the SDL power management routines

Enumeration Type Documentation

The basic state for the system's power supply.

Enumerator:
SDL_POWERSTATE_UNKNOWN  cannot determine power status
SDL_POWERSTATE_ON_BATTERY  Not plugged in, running on the battery
SDL_POWERSTATE_NO_BATTERY  Plugged in, no battery available
SDL_POWERSTATE_CHARGING  Plugged in, charging battery
SDL_POWERSTATE_CHARGED  Plugged in, battery charged


Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8