2018-09-22 12:28:50 +00:00
|
|
|
'use strict'
|
|
|
|
|
2018-09-13 16:10:51 +00:00
|
|
|
const { EventEmitter } = require('events')
|
2019-07-11 15:11:46 +00:00
|
|
|
const { deprecate } = require('electron')
|
2019-03-18 19:37:06 +00:00
|
|
|
const { Tray } = process.electronBinding('tray')
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-03-29 00:51:11 +00:00
|
|
|
Object.setPrototypeOf(Tray.prototype, EventEmitter.prototype)
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2019-07-11 15:11:46 +00:00
|
|
|
// Deprecations
|
|
|
|
Tray.prototype.setHighlightMode = deprecate.removeFunction(Tray.prototype.setHighlightMode, 'setHighlightMode')
|
|
|
|
|
2016-03-24 20:15:04 +00:00
|
|
|
module.exports = Tray
|