src/power/uikit/SDL_syspower.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 31 Oct 2011 05:56:58 -0400
changeset 6044 35448a5ea044
child 6138 4c64952a58fb
permissions -rw-r--r--
Lots of fixes importing SDL source wholesale into a new iOS project
slouken@6044
     1
/*
slouken@6044
     2
  Simple DirectMedia Layer
slouken@6044
     3
  Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
slouken@6044
     4
slouken@6044
     5
  This software is provided 'as-is', without any express or implied
slouken@6044
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@6044
     7
  arising from the use of this software.
slouken@6044
     8
slouken@6044
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@6044
    10
  including commercial applications, and to alter it and redistribute it
slouken@6044
    11
  freely, subject to the following restrictions:
slouken@6044
    12
slouken@6044
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@6044
    14
     claim that you wrote the original software. If you use this software
slouken@6044
    15
     in a product, an acknowledgment in the product documentation would be
slouken@6044
    16
     appreciated but is not required.
slouken@6044
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@6044
    18
     misrepresented as being the original software.
slouken@6044
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@6044
    20
*/
slouken@6044
    21
#include "SDL_config.h"
slouken@6044
    22
slouken@6044
    23
#if SDL_POWER_UIKIT
slouken@6044
    24
slouken@6044
    25
#include "SDL_power.h"
slouken@6044
    26
slouken@6044
    27
void SDL_UIKit_UpdateBatteryMonitoring(void);
slouken@6044
    28
SDL_bool SDL_GetPowerInfo_UIKit(SDL_PowerState * state, int *seconds, int *percent);
slouken@6044
    29
slouken@6044
    30
#endif /* SDL_POWER_UIKIT */
slouken@6044
    31
slouken@6044
    32
/* vi: set ts=4 sw=4 expandtab: */