mac: Implement global keyboard shortcut API.

This commit is contained in:
Haojian Wu 2014-07-20 23:09:26 +08:00
parent 476f545a67
commit 4b3bd9c3cc
9 changed files with 922 additions and 0 deletions

View file

@ -0,0 +1,7 @@
EventEmitter = require('events').EventEmitter
bindings = process.atomBinding 'shortcut'
Shortcut = bindings.Shortcut
Shortcut::__proto__ = EventEmitter.prototype
module.exports = Shortcut