2018-09-23 00:28:50 +12:00
|
|
|
'use strict'
|
|
|
|
|
2018-09-14 02:10:51 +10:00
|
|
|
const { EventEmitter } = require('events')
|
2019-03-18 12:37:06 -07:00
|
|
|
const { Notification, isSupported } = process.electronBinding('notification')
|
2017-04-23 22:16:19 +10:00
|
|
|
|
|
|
|
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
|
|
|
|
|
2017-05-30 20:27:24 +10:00
|
|
|
Notification.isSupported = isSupported
|
|
|
|
|
2017-04-23 22:16:19 +10:00
|
|
|
module.exports = Notification
|