2016-04-24 12:13:46 +00:00
|
|
|
const {EventEmitter} = require('events')
|
2016-08-02 11:38:35 +00:00
|
|
|
const {systemPreferences, SystemPreferences} = process.atomBinding('system_preferences')
|
2016-04-24 12:13:46 +00:00
|
|
|
|
2017-11-02 04:05:27 +00:00
|
|
|
// SystemPreferences is an EventEmitter.
|
2016-08-02 11:38:35 +00:00
|
|
|
Object.setPrototypeOf(SystemPreferences.prototype, EventEmitter.prototype)
|
2017-11-02 04:05:27 +00:00
|
|
|
EventEmitter.call(systemPreferences)
|
2016-04-24 12:13:46 +00:00
|
|
|
|
|
|
|
module.exports = systemPreferences
|