SDL
2.0
|
Go to the source code of this file.
Functions | |
static void | report_power (void) |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 64 of file testpower.c.
References report_power(), SDL_GetError, SDL_Init, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, and SDL_Quit.
Definition at line 18 of file testpower.c.
References NULL, SDL_GetPowerInfo, SDL_Log, SDL_POWERSTATE_CHARGED, SDL_POWERSTATE_CHARGING, SDL_POWERSTATE_NO_BATTERY, SDL_POWERSTATE_ON_BATTERY, SDL_POWERSTATE_UNKNOWN, and state.
Referenced by main().