Change-Id: I34eb9ed5ade990af920649dd58f8a0dddbe1cd92
return e_devicemgr_block_remove_internal(cb_func, cb_data);
}
+E_API Eina_Bool
+e_devicemgr_block_reset(void)
+{
+ int ret;
+
+ if (!e_devicemgr->block.client) return EINA_FALSE;
+ ret = e_devicemgr_block_remove(e_devicemgr->block.client);
+ if (ret == TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE)
+ return EINA_TRUE;
+
+ return EINA_FALSE;
+}
+
EINTERN Eina_Bool e_devicemgr_block_internal_add(Ecore_Device_Class clas, Eina_Bool all_clas, uint32_t duration, E_Devicemgr_Block_Expire_Cb cb_func, void *cb_data);
EINTERN Eina_Bool e_devicemgr_block_internal_remove(E_Devicemgr_Block_Expire_Cb cb_func, void *cb_data);
+E_API Eina_Bool e_devicemgr_block_reset(void);
+
#endif
#endif