old mode 100644
new mode 100755
| | |
| | | |
| | | /** |
| | | * Acquire a reference to the #LinphoneImNotifPolicy object. |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @return The same #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | * @return The same #LinphoneImNotifPolicy object. @notnil |
| | | **/ |
| | | LINPHONE_PUBLIC LinphoneImNotifPolicy * linphone_im_notif_policy_ref(LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Release reference to the #LinphoneImNotifPolicy object. |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | **/ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_unref(LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Retrieve the user pointer associated with the #LinphoneImNotifPolicy object. |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @return The user pointer associated with the #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | * @return The user pointer associated with the #LinphoneImNotifPolicy object. @maybenil |
| | | **/ |
| | | LINPHONE_PUBLIC void *linphone_im_notif_policy_get_user_data(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Assign a user pointer to the #LinphoneImNotifPolicy object. |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @param[in] ud The user pointer to associate with the #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | * @param user_data The user pointer to associate with the #LinphoneImNotifPolicy object. @maybenil |
| | | **/ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_user_data(LinphoneImNotifPolicy *policy, void *ud); |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_user_data(LinphoneImNotifPolicy *policy, void *user_data); |
| | | |
| | | /** |
| | | * Clear an IM notif policy (deactivate all receiving and sending of notifications). |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_clear(LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable all receiving and sending of notifications. |
| | | * @param[in] policy #LinphoneImNotifPolicy object. |
| | | * @param policy #LinphoneImNotifPolicy object. @notnil |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_enable_all(LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Tell whether is_composing notifications are being sent. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether is_composing notifications are being sent. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_send_is_composing(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable is_composing notifications sending. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to send is_composing notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to send is_composing notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_send_is_composing(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |
| | | /** |
| | | * Tell whether is_composing notifications are being notified when received. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether is_composing notifications are being notified when received. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_recv_is_composing(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable is_composing notifications receiving. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to notify received is_composing notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to notify received is_composing notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_recv_is_composing(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |
| | | /** |
| | | * Tell whether imdn delivered notifications are being sent. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether imdn delivered notifications are being sent. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_send_imdn_delivered(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable imdn delivered notifications sending. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to send imdn delivered notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to send imdn delivered notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_send_imdn_delivered(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |
| | | /** |
| | | * Tell whether imdn delivered notifications are being notified when received. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether imdn delivered notifications are being notified when received. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_recv_imdn_delivered(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable imdn delivered notifications receiving. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to notify received imdn delivered notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to notify received imdn delivered notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_recv_imdn_delivered(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |
| | | /** |
| | | * Tell whether imdn displayed notifications are being sent. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether imdn displayed notifications are being sent. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_send_imdn_displayed(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable imdn displayed notifications sending. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to send imdn displayed notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to send imdn displayed notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_send_imdn_displayed(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |
| | | /** |
| | | * Tell whether imdn displayed notifications are being notified when received. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @return Boolean value telling whether imdn displayed notifications are being notified when received. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_im_notif_policy_get_recv_imdn_displayed(const LinphoneImNotifPolicy *policy); |
| | | |
| | | /** |
| | | * Enable imdn displayed notifications receiving. |
| | | * @param[in] policy #LinphoneImNotifPolicy object |
| | | * @param[in] enable Boolean value telling whether to notify received imdn displayed notifications. |
| | | * @param policy #LinphoneImNotifPolicy object @notnil |
| | | * @param enable Boolean value telling whether to notify received imdn displayed notifications. |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_im_notif_policy_set_recv_imdn_displayed(LinphoneImNotifPolicy *policy, bool_t enable); |
| | | |