From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 01 九月 2021 17:04:05 +0800 Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/chat-message-enums.h | 38 +++++++++++++------------------------- 1 files changed, 13 insertions(+), 25 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 100755 new mode 100644 index 4e44be2..7f5b730 --- 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,31 +22,19 @@ // ============================================================================= -/** - * #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_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. */) - -/** - * #LinphoneChatMessageDirection is used to indicate if a message is outgoing or incoming. - * @ingroup chatroom - */ -typedef enum _LinphoneChatMessageDirection{ - LinphoneChatMessageDirectionIncoming, /**< Incoming message */ - LinphoneChatMessageDirectionOutgoing, /**< Outgoing message */ -} LinphoneChatMessageDirection; - +#define L_ENUM_VALUES_CHAT_MESSAGE_DIRECTION(F) \ + F(Incoming /**< Incoming message */) \ + F(Outgoing /**< Outgoing message */) #endif // ifndef _L_CHAT_MESSAGE_ENUMS_H_ -- Gitblit v1.8.0