#pragma once #include #include #include #include #include class NotificationsManager : public QObject { Q_OBJECT public: NotificationsManager(QObject *parent = nullptr); Q_INVOKABLE void postNotification(const QString &roomId, const QString &eventId, const QString &roomName, const QString &senderName, const QString &text, const QImage &icon); private: QMultiMap m_notifications; };