From fe877009c7d5b5f8e4a49e8bfdf8033aa444d86e Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 01 九月 2021 17:42:22 +0800 Subject: [PATCH] 纯oc linphone sdk工程 --- 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