NetNewsWire/Evergreen/MainWindow/KeyboardDelegateProtocol.swift

18 lines
337 B
Swift
Raw Normal View History

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