From 6b97b1eec1ca79a01098c07980aa040a59bb36b8 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sun, 2 Oct 2022 15:20:28 +0800 Subject: [PATCH] IMEStateData // Protocolize "userPhraseKVPair". --- .../Sources/Shared/Protocols/IMEStateProtocol.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/vChewing_Shared/Sources/Shared/Protocols/IMEStateProtocol.swift b/Packages/vChewing_Shared/Sources/Shared/Protocols/IMEStateProtocol.swift index 173b86eb..0a775f88 100644 --- a/Packages/vChewing_Shared/Sources/Shared/Protocols/IMEStateProtocol.swift +++ b/Packages/vChewing_Shared/Sources/Shared/Protocols/IMEStateProtocol.swift @@ -56,6 +56,7 @@ public protocol StateDataProtocol { var attributedStringNormal: NSAttributedString { get } var attributedStringMarking: NSAttributedString { get } var attributedStringPlaceholder: NSAttributedString { get } + var userPhraseKVPair: (String, String) { get } var userPhraseDumped: String { get } var userPhraseDumpedConverted: String { get } var doesUserPhraseExist: Bool { get }