From 921239f9501499a34457320bc63f10f5d9243106 Mon Sep 17 00:00:00 2001 From: "sh.pi" Date: Fri, 7 Sep 2012 16:03:26 +0900 Subject: pm_change_state is moved to managed API. --- pmapi.h | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'pmapi.h') diff --git a/pmapi.h b/pmapi.h index 8efb250..1bb2a40 100644 --- a/pmapi.h +++ b/pmapi.h @@ -23,8 +23,10 @@ #ifndef __POWER_MANAGER_LIBRARY_H__ #define __POWER_MANAGER_LIBRARY_H__ +#include "pmapi_managed.h" + /** - * @defgroup POWER_MANAGER Power manager library + * @defgroup POWER_MANAGER Power manager library * @ingroup SYSTEM_FRAMEWORK * @brief Power manager control API library * @@ -176,25 +178,6 @@ extern "C" { */ int pm_unlock_state(unsigned int, unsigned int); -/** - * @fn int pm_change_state(unsigned int state); - * @brief This API is used to change the power manager state by force. - * @param[in] state power manager state - LCD_NORMAL, LCD_DIM, LCD_OFF - * @return 0 on success, -1 if failed. - * @see pm_lock_state(), pm_unlock_state() - * @pat Example - * @code - * ... - * result = pm_change_state(LCD_OFF); - * if( result < 0 ) - * printf("[ERROR] return value result =%d, \n",result); - * else - * printf("[SUCCESS]return value result =%d \n",result); - * ... - * @endcode - */ - int pm_change_state(unsigned int); - /** * @} */ -- cgit v1.2.3