SessionCtl // Add callNotification().
This commit is contained in:
parent
cbdcb1a7c8
commit
3708c1e124
|
@ -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?
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue