diff options
author | sh.pi <sh.pi@samsung.com> | 2012-09-07 16:03:26 +0900 |
---|---|---|
committer | sh.pi <sh.pi@samsung.com> | 2012-09-07 16:03:26 +0900 |
commit | 921239f9501499a34457320bc63f10f5d9243106 (patch) | |
tree | d65a5f50e60cacc90b7f226e42df5b4ffccc5806 /pmapi.h | |
parent | 7c172b39753f91cb6390c675b78d689003ff3796 (diff) | |
download | libslp-pm-2.0alpha.tar.gz libslp-pm-2.0alpha.tar.bz2 libslp-pm-2.0alpha.zip |
pm_change_state is moved to managed API.HEADsubmit/master/20120920.1511092.0_alphamaster2.0alpha
Diffstat (limited to 'pmapi.h')
-rw-r--r-- | pmapi.h | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -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 * @@ -177,25 +179,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); - -/** * @} */ |