*/
//--------------------------------------------------------------------------
CicoNotificationService::CicoNotificationService()
- : m_privateid(0),
+ : m_privateid(0),
m_user_data(NULL)
{
}
}
int retid = 0;
- notification_error_e err = notification_insert(noti.Unpack(), &retid);
+ notification_error_e err = NOTIFICATION_ERROR_NONE;
+ err = notification_insert(noti.GetNotiHandle(), &retid);
if (NOTIFICATION_ERROR_NONE != err) {
ICO_ERR("notification_insert() failed(%d).", err);
return false;
return false;
}
- notification_error_e err = notification_update(noti.Unpack());
+ notification_error_e err = NOTIFICATION_ERROR_NONE;
+ err = notification_update(noti.GetNotiHandle());
if (NOTIFICATION_ERROR_NONE != err) {
ICO_ERR("notification_update() failed(%d).", err);
return false;
//--------------------------------------------------------------------------
/**
- * @brief set callback function of notification
+ * @brief set callback function of notification
*
* @param [in] detailed_changed_cb callback function
* @param [in] user_data user data
//--------------------------------------------------------------------------
/**
- * @brief unset callback function of notification
+ * @brief unset callback function of notification
*
* @param [in] detailed_changed_cb callback function
* @param [in] user_data user data