diff --git a/Source/Modules/InputHandler_Core.swift b/Source/Modules/InputHandler_Core.swift index 75484353..a9c02322 100644 --- a/Source/Modules/InputHandler_Core.swift +++ b/Source/Modules/InputHandler_Core.swift @@ -64,6 +64,7 @@ public protocol InputHandlerDelegate { var clientBundleIdentifier: String { get } var clientMitigationLevel: Int { get } func callError(_ logMessage: String) + func callNotification(_ message: String) func updateVerticalTypingStatus() func switchState(_ newState: IMEStateProtocol) func candidateController() -> CtlCandidateProtocol? diff --git a/Source/Modules/SessionCtl_Delegates.swift b/Source/Modules/SessionCtl_Delegates.swift index 4b562e6e..e3e0f898 100644 --- a/Source/Modules/SessionCtl_Delegates.swift +++ b/Source/Modules/SessionCtl_Delegates.swift @@ -6,6 +6,7 @@ // marks, or product names of Contributor, except as required to fulfill notice // requirements defined in MIT License. +import NotifierUI import Shared // MARK: - InputHandler Delegate @@ -26,6 +27,10 @@ extension SessionCtl: InputHandlerDelegate { candidatePairSelectionConfirmed(at: index) } + public func callNotification(_ message: String) { + Notifier.notify(message: message) + } + public func callError(_ logMessage: String) { vCLog(logMessage) IMEApp.buzz()