2018-10-17 20:01:11 +02:00
|
|
|
// Copyright (c) 2015 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 08:34:31 +01:00
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_
|
|
|
|
#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_
|
2018-10-17 20:01:11 +02:00
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2019-06-19 14:23:04 -07:00
|
|
|
namespace electron {
|
2018-10-17 20:01:11 +02:00
|
|
|
class NotificationPresenterMac;
|
|
|
|
}
|
|
|
|
|
|
|
|
@interface NotificationCenterDelegate
|
|
|
|
: NSObject <NSUserNotificationCenterDelegate> {
|
|
|
|
@private
|
2019-06-19 14:23:04 -07:00
|
|
|
electron::NotificationPresenterMac* presenter_;
|
2018-10-17 20:01:11 +02:00
|
|
|
}
|
2019-06-19 14:23:04 -07:00
|
|
|
- (instancetype)initWithPresenter:
|
|
|
|
(electron::NotificationPresenterMac*)presenter;
|
2018-10-17 20:01:11 +02:00
|
|
|
@end
|
|
|
|
|
2021-11-22 08:34:31 +01:00
|
|
|
#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_
|