From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 02 九月 2022 14:56:40 +0800
Subject: [PATCH] 更新linphone sdk
---
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