blob: bed7495f3e4746b6ef44ff20f7f09556e6c61610 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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 &title, const Glib::ustring &text, const Glib::ustring &default_action, const std::string &icon_path);
private:
#ifdef ENABLE_NOTIFICATION_SOUNDS
ma_engine m_engine;
#endif
};
|