36 namespace notifications {
38 #if !(defined(HAVE_LIBDBUS) || defined(__APPLE__) || defined(_WIN32))
42 void send(
const std::string& ,
const std::string& ,
type )
57 void send(
const std::string&,
const std::string&,
type)
59 void send(
const std::string& owner,
const std::string& message,
type t)
void send_notification(const std::string &owner, const std::string &message, const desktop::notifications::type note_type)
void send_notification(const std::string &owner, const std::string &message, bool with_history)
bool available()
Returns whether we were compiled with support for desktop notifications.
void send(const std::string &, const std::string &, type)
Displays a desktop notification message, from owner, of type t.
bool window_is_visible()
True iff the window is not hidden.
bool window_has_focus()
True iff the window has mouse or input focus.