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/enums/chat-message-enums.h |   38 +++++++++++++++++++++++++-------------
 1 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/chat-message-enums.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/chat-message-enums.h
old mode 100644
new mode 100755
index 7f5b730..4e44be2
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/chat-message-enums.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/chat-message-enums.h
@@ -22,19 +22,31 @@
 
 // =============================================================================
 
-#define L_ENUM_VALUES_CHAT_MESSAGE_STATE(F) \
-	F(Idle /**< Initial state */) \
-	F(InProgress /**< Delivery in progress */) \
-	F(Delivered /**< Message successfully delivered and acknowledged by the server */) \
-	F(NotDelivered /**< Message was not delivered */) \
-	F(FileTransferError /**< Message was received and acknowledged but cannot get file from server */) \
-	F(FileTransferDone /**< File transfer has been completed successfully */) \
-	F(DeliveredToUser /**< Message successfully delivered an acknowledged by the remote user */) \
-	F(Displayed /**< Message successfully displayed to the remote user */) \
-	F(FileTransferInProgress /** <File transfer is in progress. If message is incoming it's a download, otherwise it's an upload. */)
+/**
+ * #LinphoneChatMessageState is used to notify if messages have been successfully delivered or not.
+ * @ingroup chatroom
+ */
+typedef enum _LinphoneChatMessageState{
+	LinphoneChatMessageStateIdle, /**< Initial state */
+	LinphoneChatMessageStateInProgress, /**< Delivery in progress */
+	LinphoneChatMessageStateDelivered, /**< Message successfully delivered and acknowledged by the server */
+	LinphoneChatMessageStateNotDelivered, /**< Message was not delivered */
+	LinphoneChatMessageStateFileTransferError, /**< Message was received and acknowledged but cannot get file from server */
+	LinphoneChatMessageStateFileTransferDone, /**< File transfer has been completed successfully */
+	LinphoneChatMessageStateDeliveredToUser, /**< Message successfully delivered an acknowledged by the remote user */
+	LinphoneChatMessageStateDisplayed, /**< Message successfully displayed to the remote user */
+	LinphoneChatMessageStateFileTransferInProgress, /** <File transfer is in progress. If message is incoming it's a download, otherwise it's an upload. */
+} LinphoneChatMessageState;
 
-#define L_ENUM_VALUES_CHAT_MESSAGE_DIRECTION(F) \
-	F(Incoming /**< Incoming message */) \
-	F(Outgoing /**< Outgoing message */)
+
+/**
+ * #LinphoneChatMessageDirection is used to indicate if a message is outgoing or incoming.
+ * @ingroup chatroom
+ */
+typedef enum _LinphoneChatMessageDirection{
+	LinphoneChatMessageDirectionIncoming, /**< Incoming message */
+	LinphoneChatMessageDirectionOutgoing, /**< Outgoing message */
+} LinphoneChatMessageDirection;
+
 
 #endif // ifndef _L_CHAT_MESSAGE_ENUMS_H_

--
Gitblit v1.8.0