1 /* RetroArch - A frontend for libretro. 2 * Copyright (C) 2011-2017 - Higor Euripedes 3 * Copyright (C) 2011-2017 - Daniel De Matteis 4 * 5 * RetroArch is free software: you can redistribute it and/or modify it under the terms 6 * of the GNU General Public License as published by the Free Software Found- 7 * ation, either version 3 of the License, or (at your option) any later version. 8 * 9 * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 10 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 11 * PURPOSE. See the GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License along with RetroArch. 14 * If not, see <http://www.gnu.org/licenses/>. 15 */ 16 #ifndef TASK_POWER_STATE_H 17 #define TASK_POWER_STATE_H 18 19 #include <stdint.h> 20 21 #include <boolean.h> 22 #include <retro_common_api.h> 23 #include <retro_miscellaneous.h> 24 25 #ifdef HAVE_CONFIG_H 26 #include "../config.h" 27 #endif 28 29 RETRO_BEGIN_DECLS 30 31 void task_push_get_powerstate(void); 32 33 enum frontend_powerstate get_last_powerstate(int *percent); 34 35 RETRO_END_DECLS 36 37 #endif 38