KShare/src/notifications.hpp

14 lines
430 B
C++
Raw Normal View History

2017-04-25 22:17:36 +02:00
#ifndef NOTIFICATIONS_HPP
#define NOTIFICATIONS_HPP
#include <QString>
#include <QSystemTrayIcon>
2017-05-06 13:21:12 +02:00
namespace notifications {
2019-05-13 19:17:09 +02:00
void init();
2017-10-05 19:21:52 +02:00
void notify(QString title, QString body, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information);
void notifyNolog(QString title, QString body, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information);
} // namespace notifications
2017-04-25 22:17:36 +02:00
#endif // NOTIFICATIONS_HPP