From 7960485054f37eb60d63a98231686cef41302a8b Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 11 五月 2022 09:13:56 +0800 Subject: [PATCH] 修改部分方法 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/encryption-engine-enums.h | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/encryption-engine-enums.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/encryption-engine-enums.h old mode 100755 new mode 100644 index 0365343..93765e9 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/encryption-engine-enums.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/encryption-engine-enums.h @@ -21,16 +21,11 @@ #define _L_ENCRYPTION_ENGINE_ENUMS_H_ // ============================================================================= -/** - * TODO move to encryption engine object when available - * #LinphoneChatRoomSecurityLevel is used to indicate the encryption security level of a chat room. - * @ingroup chatroom - */ -typedef enum _LinphoneChatRoomSecurityLevel{ - LinphoneChatRoomSecurityLevelUnsafe, /**< Security failure */ - LinphoneChatRoomSecurityLevelClearText, /**< No encryption */ - LinphoneChatRoomSecurityLevelEncrypted, /**< Encrypted */ - LinphoneChatRoomSecurityLevelSafe /**< Encrypted and verified */ -} LinphoneChatRoomSecurityLevel; + +#define L_ENUM_VALUES_ENCRYPTION_ENGINE_SECURITY_LEVEL(F) \ + F(Unsafe /**< Security failure */) \ + F(ClearText /**< No encryption */) \ + F(Encrypted /**< Encrypted */) \ + F(Safe /**< Encrypted and verified */) #endif // ifndef _L_ENCRYPTION_ENGINE_ENUMS_H_ -- Gitblit v1.8.0