Dunst
Lightweight notification daemon
Loading...
Searching...
No Matches
dbus.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
10
11#ifndef DUNST_DBUS_H
12#define DUNST_DBUS_H
13
14#include "dunst.h"
15#include "notification.h"
16
26
27int dbus_init(void);
28void dbus_teardown(int id);
29void signal_notification_closed(struct notification *n, enum reason reason);
30void signal_action_invoked(const struct notification *n, const char *identifier);
31void signal_length_propertieschanged(void);
32void signal_paused_propertieschanged(void);
33void signal_history_removed(guint id);
34void signal_history_cleared(guint n);
35void signal_config_reloaded(char **const configs);
36
37#endif
reason
The reasons according to the notification spec.
Definition dbus.h:18
@ REASON_UNDEF
Undefined reason not matching the previous ones.
Definition dbus.h:23
@ REASON_SIG
The daemon received a NotificationClose signal.
Definition dbus.h:22
@ REASON_MAX
Maximum value, useful for boundary checking.
Definition dbus.h:24
@ REASON_TIME
The notification timed out.
Definition dbus.h:20
@ REASON_USER
The user closed the notification.
Definition dbus.h:21
@ REASON_MIN
Minimum value, useful for boundary checking.
Definition dbus.h:19
Main event loop logic.
Notification type definitions.