2015-12-24 13:55:18 +00: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.
|
|
|
|
|
|
|
|
#ifndef BROWSER_MAC_NOTIFICATION_DELEGATE_H_
|
|
|
|
#define BROWSER_MAC_NOTIFICATION_DELEGATE_H_
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2015-12-25 02:16:07 +00:00
|
|
|
namespace brightray {
|
|
|
|
class NotificationPresenterMac;
|
2015-12-24 13:55:18 +00:00
|
|
|
}
|
2015-12-25 02:16:07 +00:00
|
|
|
|
2018-04-18 01:46:27 +00:00
|
|
|
@interface NotificationCenterDelegate
|
|
|
|
: NSObject <NSUserNotificationCenterDelegate> {
|
2015-12-25 02:16:07 +00:00
|
|
|
@private
|
|
|
|
brightray::NotificationPresenterMac* presenter_;
|
|
|
|
}
|
2018-04-18 01:46:27 +00:00
|
|
|
- (instancetype)initWithPresenter:
|
|
|
|
(brightray::NotificationPresenterMac*)presenter;
|
2015-12-24 13:55:18 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif // BROWSER_MAC_NOTIFICATION_DELEGATE_H_
|