Update notification for mac.
This commit is contained in:
parent
c3ecbc6322
commit
d5847e797b
|
@ -7,11 +7,20 @@
|
||||||
- (void)set_identityImage:(NSImage *)image;
|
- (void)set_identityImage:(NSImage *)image;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NotificationsManager::NotificationsManager(QObject *parent) : QObject(parent) {}
|
NotificationsManager::NotificationsManager(QObject *parent): QObject(parent)
|
||||||
|
{
|
||||||
|
|
||||||
void NotificationsManager::postNotification(const QString &roomId, const QString &eventId,
|
}
|
||||||
const QString &roomName, const QString &senderName,
|
|
||||||
const QString &text, const QImage &icon) {
|
void
|
||||||
|
NotificationsManager::postNotification(
|
||||||
|
const QString &roomId,
|
||||||
|
const QString &eventId,
|
||||||
|
const QString &roomName,
|
||||||
|
const QString &senderName,
|
||||||
|
const QString &text,
|
||||||
|
const QImage &icon)
|
||||||
|
{
|
||||||
Q_UNUSED(roomId);
|
Q_UNUSED(roomId);
|
||||||
Q_UNUSED(eventId);
|
Q_UNUSED(eventId);
|
||||||
Q_UNUSED(icon);
|
Q_UNUSED(icon);
|
||||||
|
@ -28,6 +37,12 @@ void NotificationsManager::postNotification(const QString &roomId, const QString
|
||||||
}
|
}
|
||||||
|
|
||||||
//unused
|
//unused
|
||||||
void NotificationsManager::actionInvoked(uint, QString) {}
|
void
|
||||||
|
NotificationsManager::actionInvoked(uint, QString)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void NotificationsManager::notificationClosed(uint, uint) {}
|
void
|
||||||
|
NotificationsManager::notificationClosed(uint, uint)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue