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