asarfuckery/electronasar/canary/browser/api/system-preferences.js
2019-08-13 20:47:11 +02:00

8 lines
No EOL
391 B
JavaScript

'use strict';
const { EventEmitter } = require('events');
const { systemPreferences, SystemPreferences } = process.electronBinding('system_preferences');
// SystemPreferences is an EventEmitter.
Object.setPrototypeOf(SystemPreferences.prototype, EventEmitter.prototype);
EventEmitter.call(systemPreferences);
module.exports = systemPreferences;
//# sourceMappingURL=system-preferences.js.map