From cb9232b3ab413fae7bcc2b94abd70f18ca02b263 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 03 十二月 2024 11:20:32 +0800
Subject: [PATCH] 增加铃声;增加TCP/UDP连接选择

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/wrapper_utils.h |   99 +++++++++++++++++++++++++++++--------------------
 1 files changed, 59 insertions(+), 40 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/wrapper_utils.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/wrapper_utils.h
index ae2ed32..8f8e68c 100755
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/wrapper_utils.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/wrapper_utils.h
@@ -40,78 +40,65 @@
 
 /**
  * @brief Gets the list of listener in the core.
- * @param lc The #LinphoneCore.
- * @return The list of #LinphoneCoreCbs.
+ * @param core The #LinphoneCore. @notnil
+ * @return The list of #LinphoneCoreCbs. @maybenil
  * @donotwrap
  */
-LINPHONE_PUBLIC bctbx_list_t *linphone_core_get_callbacks_list(const LinphoneCore *lc);
+LINPHONE_PUBLIC bctbx_list_t *linphone_core_get_callbacks_list(const LinphoneCore *core);
 
 /**
  * @brief Gets the list of listener in the call.
- * @param[in] call #LinphoneCall object.
- * @return The list of #LinphoneCallCbs.
+ * @param call #LinphoneCall object. @notnil
+ * @return The list of #LinphoneCallCbs. @maybenil
  * @donotwrap
  */
 LINPHONE_PUBLIC const bctbx_list_t *linphone_call_get_callbacks_list(const LinphoneCall *call);
 
 /**
  * @brief Gets the list of listener in the chat room.
- * @param[in] cr #LinphoneChatRoom object.
- * @return The list of #LinphoneChatRoomCbs.
+ * @param chat_room #LinphoneChatRoom object. @notnil
+ * @return The list of #LinphoneChatRoomCbs. @maybenil
  * @donotwrap
  */
-LINPHONE_PUBLIC const bctbx_list_t *linphone_chat_room_get_callbacks_list(const LinphoneChatRoom *cr);
+LINPHONE_PUBLIC const bctbx_list_t *linphone_chat_room_get_callbacks_list(const LinphoneChatRoom *chat_room);
+
+/**
+ * Gets the list of listener in the conference.
+ * @param[in] conference LinphoneConference object
+ * @return The attached listeners. \bctbx_list{LinphoneConferenceCbs}
+ * @donotwrap
+ */
+LINPHONE_PUBLIC const bctbx_list_t *linphone_conference_get_callbacks_list(const LinphoneConference *conference);
 
 /**
  * Sets the current LinphoneChatRoomCbs.
- * @param[in] cr LinphoneChatRoom object
- * @param[in] cbs LinphoneChatRoomCbs object
+ * @param chat_room LinphoneChatRoom object
+ * @param cbs LinphoneChatRoomCbs object
  * @donotwrap
  */
-LINPHONE_PUBLIC void linphone_chat_room_set_current_callbacks(LinphoneChatRoom *cr, LinphoneChatRoomCbs *cbs);
+LINPHONE_PUBLIC void linphone_chat_room_set_current_callbacks(LinphoneChatRoom *chat_room, LinphoneChatRoomCbs *cbs);
 
 /**
  * @brief Gets the list of listener in the chat mesasge.
- * @param[in] msg #LinphoneChatMessage object.
+ * @param message #LinphoneChatMessage object.
  * @return The list of #LinphoneChatMessageCbs.
  * @donotwrap
  */
-LINPHONE_PUBLIC const bctbx_list_t *linphone_chat_message_get_callbacks_list(const LinphoneChatMessage *msg);
+LINPHONE_PUBLIC const bctbx_list_t *linphone_chat_message_get_callbacks_list(const LinphoneChatMessage *message);
 
 /**
  * Sets the current LinphoneChatMessageCbs.
- * @param[in] msg LinphoneChatMessage object
- * @param[in] cbs LinphoneChatMessageCbs object
+ * @param message LinphoneChatMessage object
+ * @param cbs LinphoneChatMessageCbs object
  * @donotwrap
  */
-LINPHONE_PUBLIC void linphone_chat_message_set_current_callbacks(LinphoneChatMessage *msg, LinphoneChatMessageCbs *cbs);
-
-/**
- * Send a message to peer member of this chat room.
- *
- * The state of the sending message will be notified via the callbacks defined in the #LinphoneChatMessageCbs object that can be obtained
- * by calling linphone_chat_message_get_callbacks().
- * @note Unlike linphone_chat_room_send_chat_message(), that function only takes a reference on the #LinphoneChatMessage
- * instead of totaly takes ownership on it. Thus, the #LinphoneChatMessage object must be released by the API user after calling
- * that function.
- *
- * @param[in] cr A chat room.
- * @param[in] msg The message to send.
- */
-LINPHONE_PUBLIC void linphone_chat_room_send_chat_message_2(LinphoneChatRoom *cr, LinphoneChatMessage *msg);
-
-/**
- * Resend a chat message if it is in the 'not delivered' state for whatever reason.
- * @note Unlike linphone_chat_message_resend(), that function only takes a reference on the #LinphoneChatMessage
- * instead of totaly takes ownership on it. Thus, the #LinphoneChatMessage object must be released by the API user after calling
- * that function.
- *
- * @param[in] msg #LinphoneChatMessage object
- */
-LINPHONE_PUBLIC void linphone_chat_message_resend_2(LinphoneChatMessage *msg);
+LINPHONE_PUBLIC void linphone_chat_message_set_current_callbacks(LinphoneChatMessage *message, LinphoneChatMessageCbs *cbs);
 
 /**
  * Accessor for the shared_ptr&lt;BelCard&gt; stored by a #LinphoneVcard
+ * @param vcard a #LinphoneVcard
+ * @return a shared_ptr<BelCard>
+ * @donotwrap
  */
 LINPHONE_PUBLIC void *linphone_vcard_get_belcard(LinphoneVcard *vcard);
 
@@ -127,6 +114,38 @@
  */
 LINPHONE_PUBLIC void linphone_chat_room_allow_cpim(LinphoneChatRoom *room);
 
+/************ */
+/* DEPRECATED */
+/* ********** */
+
+/**
+ * Send a message to peer member of this chat room.
+ *
+ * The state of the sending message will be notified via the callbacks defined in the #LinphoneChatMessageCbs object that can be obtained
+ * by calling linphone_chat_message_get_callbacks().
+ * @note Unlike linphone_chat_room_send_chat_message(), that function only takes a reference on the #LinphoneChatMessage
+ * instead of totaly takes ownership on it. Thus, the #LinphoneChatMessage object must be released by the API user after calling
+ * that function.
+ *
+ * @param chat_room A chat room. @notnil
+ * @param message The message to send. @notnil
+ * @deprecated 08/07/2020 Use linphone_chat_message_send() instead.
+ * @donotwrap It doesn't says what the doc says it does
+ */
+LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_chat_room_send_chat_message_2(LinphoneChatRoom *chat_room, LinphoneChatMessage *message);
+
+/**
+ * Resend a chat message if it is in the 'not delivered' state for whatever reason.
+ * @note Unlike linphone_chat_message_resend(), that function only takes a reference on the #LinphoneChatMessage
+ * instead of totaly takes ownership on it. Thus, the #LinphoneChatMessage object must be released by the API user after calling
+ * that function.
+ *
+ * @param message #LinphoneChatMessage object @notnil
+ * @deprecated 08/07/2020 Use linphone_chat_message_send instead.
+ * @donotwrap It doesn't says what the doc says it does
+ */
+LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_chat_message_resend_2(LinphoneChatMessage *message);
+
 /**
  * @}
  */

--
Gitblit v1.8.0