asarfuckery/electronasar/development/browser/api/system-preferences.js
2019-01-17 19:22:05 +01:00

10 lines
338 B
JavaScript

'use strict'
const { EventEmitter } = require('events')
const { systemPreferences, SystemPreferences } = process.atomBinding('system_preferences')
// SystemPreferences is an EventEmitter.
Object.setPrototypeOf(SystemPreferences.prototype, EventEmitter.prototype)
EventEmitter.call(systemPreferences)
module.exports = systemPreferences