electron/lib/browser/api/system-preferences.js

7 lines
242 B
JavaScript
Raw Normal View History

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
2016-08-02 11:38:35 +00:00
Object.setPrototypeOf(SystemPreferences.prototype, EventEmitter.prototype)
2016-04-24 12:13:46 +00:00
module.exports = systemPreferences