You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
606 B
25 lines
606 B
5 years ago
|
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||
|
|
||
|
#ifndef DUNST_DBUS_H
|
||
|
#define DUNST_DBUS_H
|
||
|
|
||
|
#include "notification.h"
|
||
|
|
||
|
enum reason {
|
||
|
REASON_MIN = 1,
|
||
|
REASON_TIME = 1,
|
||
|
REASON_USER = 2,
|
||
|
REASON_SIG = 3,
|
||
|
REASON_UNDEF = 4,
|
||
|
REASON_MAX = 4,
|
||
|
};
|
||
|
|
||
|
int initdbus(void);
|
||
|
void dbus_tear_down(int id);
|
||
|
/* void dbus_poll(int timeout); */
|
||
|
void notification_closed(notification *n, enum reason reason);
|
||
|
void action_invoked(notification *n, const char *identifier);
|
||
|
|
||
|
#endif
|
||
|
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|