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
|
|
|
//
|
|
|
|
|
|
|
|
import Cocoa
|
|
|
|
|
|
|
|
let keypadEnter: unichar = 3
|
|
|
|
|
|
|
|
protocol KeyboardDelegate: class {
|
|
|
|
|
|
|
|
// Return true if handled.
|
|
|
|
func handleKeydownEvent(_: NSEvent, sender: AnyObject) -> Bool
|
|
|
|
}
|