Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SDL_power.h « SDL2 « include « sdlew « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00d63072e7c5e7878532cc9fcbebe1b5d6a600d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#ifndef _SDL_power_h
#define _SDL_power_h

#include "SDL_stdinc.h"

#include "begin_code.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum
{
    SDL_POWERSTATE_UNKNOWN,
    SDL_POWERSTATE_ON_BATTERY,
    SDL_POWERSTATE_NO_BATTERY,
    SDL_POWERSTATE_CHARGING,
    SDL_POWERSTATE_CHARGED
} SDL_PowerState;

typedef SDL_PowerState SDLCALL tSDL_GetPowerInfo(int *secs, int *pct);

extern tSDL_GetPowerInfo *SDL_GetPowerInfo;

#ifdef __cplusplus
}
#endif
#include "close_code.h"

#endif