const binding = process._linkedBinding('electron_browser_notification');

const ElectronNotification = binding.Notification;
ElectronNotification.isSupported = binding.isSupported;
ElectronNotification.getHistory = binding.getHistory;
ElectronNotification.remove = binding.remove;
ElectronNotification.removeAll = binding.removeAll;
ElectronNotification.removeGroup = binding.removeGroup;

if (process.platform === 'win32' && binding.handleActivation) {
  ElectronNotification.handleActivation = binding.handleActivation;
}

export default ElectronNotification;
