mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add KeyboardDelegate.
This commit is contained in:
17
Evergreen/MainWindow/KeyboardDelegateProtocol.swift
Normal file
17
Evergreen/MainWindow/KeyboardDelegateProtocol.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// KeyboardDelegateProtocol.swift
|
||||
// Evergreen
|
||||
//
|
||||
// Created by Brent Simmons on 10/11/16.
|
||||
// Copyright © 2016 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
let keypadEnter: unichar = 3
|
||||
|
||||
protocol KeyboardDelegate: class {
|
||||
|
||||
// Return true if handled.
|
||||
func handleKeydownEvent(_: NSEvent, sender: AnyObject) -> Bool
|
||||
}
|
||||
Reference in New Issue
Block a user