2017-05-26 22:25:02 +02:00
|
|
|
//
|
|
|
|
// KeyboardDelegateProtocol.swift
|
|
|
|
// Evergreen
|
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 10/11/16.
|
2017-05-29 22:17:58 +02:00
|
|
|
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
|
2017-05-26 22:25:02 +02:00
|
|
|
//
|
|
|
|
|
2018-02-03 07:51:32 +01:00
|
|
|
import AppKit
|
2017-05-26 22:25:02 +02:00
|
|
|
|
|
|
|
let keypadEnter: unichar = 3
|
|
|
|
|
2017-12-20 21:59:31 +01:00
|
|
|
@objc protocol KeyboardDelegate: class {
|
2017-05-26 22:25:02 +02:00
|
|
|
|
|
|
|
// Return true if handled.
|
2017-12-20 21:59:31 +01:00
|
|
|
func keydown(_: NSEvent, in view: NSView) -> Bool
|
2017-05-26 22:25:02 +02:00
|
|
|
}
|