blob: cd3eb71d6d28a11e7bf90bf1cfda7b1678e8f442 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <glibmm/ustring.h>
#include <gdkmm/pixbuf.h>
#ifdef ENABLE_NOTIFICATION_SOUNDS
#include <miniaudio.h>
#endif
class Notifier {
public:
Notifier();
~Notifier();
void Notify(const Glib::ustring &id, const Glib::ustring &title, const Glib::ustring &text, const Glib::ustring &default_action, const std::string &icon_path);
void Withdraw(const Glib::ustring &id);
private:
#ifdef ENABLE_NOTIFICATION_SOUNDS
ma_engine m_engine;
#endif
};
|