Files
amnezia-client/client/platforms/ios/iosnotificationhandler.h
T

29 lines
732 B
C++
Raw Normal View History

2021-10-23 04:26:47 -07:00
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef IOSNOTIFICATIONHANDLER_H
#define IOSNOTIFICATIONHANDLER_H
2021-11-30 12:53:12 -08:00
#include "ui/notificationhandler.h"
2021-10-23 04:26:47 -07:00
#include <QObject>
class IOSNotificationHandler final : public NotificationHandler {
Q_DISABLE_COPY_MOVE(IOSNotificationHandler)
public:
IOSNotificationHandler(QObject* parent);
~IOSNotificationHandler();
protected:
2021-11-30 12:53:12 -08:00
void notify(Message type, const QString& title, const QString& message,
int timerMsec) override;
2021-10-23 04:26:47 -07:00
private:
void* m_delegate = nullptr;
};
2021-11-30 12:53:12 -08:00
2021-10-23 04:26:47 -07:00
#endif // IOSNOTIFICATIONHANDLER_H