mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
notifications/mananger: Follow Linux code paths on Haiku as well
This commit is contained in:
parent
cf00abc03e
commit
e8ff6c9486
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
|
||||
#include <QtDBus/QDBusArgument>
|
||||
#include <QtDBus/QDBusInterface>
|
||||
#endif
|
||||
|
@ -41,7 +41,7 @@ signals:
|
|||
public slots:
|
||||
void removeNotification(const QString &roomId, const QString &eventId);
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
|
||||
public:
|
||||
void closeNotifications(QString roomId);
|
||||
|
||||
|
@ -61,7 +61,7 @@ private slots:
|
|||
void notificationReplied(uint id, QString reply);
|
||||
};
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
|
||||
QDBusArgument &
|
||||
operator<<(QDBusArgument &arg, const QImage &image);
|
||||
const QDBusArgument &
|
||||
|
|
Loading…
Reference in a new issue