dludwig@8617: /* dludwig@8617: Simple DirectMedia Layer slouken@10737: Copyright (C) 1997-2017 Sam Lantinga dludwig@8617: dludwig@8617: This software is provided 'as-is', without any express or implied dludwig@8617: warranty. In no event will the authors be held liable for any damages dludwig@8617: arising from the use of this software. dludwig@8617: dludwig@8617: Permission is granted to anyone to use this software for any purpose, dludwig@8617: including commercial applications, and to alter it and redistribute it dludwig@8617: freely, subject to the following restrictions: dludwig@8617: dludwig@8617: 1. The origin of this software must not be misrepresented; you must not dludwig@8617: claim that you wrote the original software. If you use this software dludwig@8617: in a product, an acknowledgment in the product documentation would be dludwig@8617: appreciated but is not required. dludwig@8617: 2. Altered source versions must be plainly marked as such, and must not be dludwig@8617: misrepresented as being the original software. dludwig@8617: 3. This notice may not be removed or altered from any source distribution. dludwig@8617: */ dludwig@8617: #include "../../SDL_internal.h" dludwig@8617: dludwig@8617: #ifndef SDL_POWER_DISABLED dludwig@8617: #if SDL_POWER_WINRT dludwig@8617: dludwig@8617: #include "SDL_power.h" dludwig@8617: dludwig@8617: extern "C" dludwig@8617: SDL_bool dludwig@8617: SDL_GetPowerInfo_WinRT(SDL_PowerState * state, int *seconds, int *percent) dludwig@8617: { dludwig@8617: /* TODO, WinRT: Battery info is available on at least one WinRT platform (Windows Phone 8). Implement SDL_GetPowerInfo_WinRT as appropriate. */ dludwig@8617: /* Notes: dludwig@8617: - the Win32 function, GetSystemPowerStatus, is not available for use on WinRT dludwig@8617: - Windows Phone 8 has a 'Battery' class, which is documented as available for C++ dludwig@8617: - More info on WP8's Battery class can be found at http://msdn.microsoft.com/library/windowsphone/develop/jj207231 dludwig@8617: */ dludwig@8617: return SDL_FALSE; dludwig@8617: } dludwig@8617: dludwig@8617: #endif /* SDL_POWER_WINRT */ dludwig@8617: #endif /* SDL_POWER_DISABLED */ dludwig@8617: dludwig@8617: /* vi: set ts=4 sw=4 expandtab: */