summary refs log tree commit diff
path: root/src/notifications/MacNotificationDelegate.h
blob: 8ae083c78b12abe1dc92d1d525f139a9f4bc0ef3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-FileCopyrightText: Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include "notifications/Manager.h"
#include "notifications/NotificationManagerProxy.h"
#include <mtx/responses/notifications.hpp>

#import <Foundation/Foundation.h>
#import <UserNotifications/UserNotifications.h>

@interface MacNotificationDelegate : NSObject <UNUserNotificationCenterDelegate> {
    std::unique_ptr<NotificationManagerProxy> mProxy;
}

- (id)initWithProxy:(std::unique_ptr<NotificationManagerProxy>&&)proxy;
@end