| 1 | // SPDX-FileCopyrightText: Nheko Contributors |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #pragma once |
| 6 | |
| 7 | #include "notifications/Manager.h" |
| 8 | #include "notifications/NotificationManagerProxy.h" |
| 9 | #include <mtx/responses/notifications.hpp> |
| 10 | |
| 11 | #import <Foundation/Foundation.h> |
| 12 | #import <UserNotifications/UserNotifications.h> |
| 13 | |
| 14 | @interface MacNotificationDelegate : NSObject <UNUserNotificationCenterDelegate> { |
| 15 | std::unique_ptr<NotificationManagerProxy> mProxy; |
| 16 | } |
| 17 | |
| 18 | - (id)initWithProxy:(std::unique_ptr<NotificationManagerProxy>&&)proxy; |
| 19 | @end |