From 1a8009f4773c591717775c4a768ae61030c52453 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Sep 2014 01:39:22 +0200 Subject: introduce mpd-notification.h --- mpd-notification.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mpd-notification.h (limited to 'mpd-notification.h') diff --git a/mpd-notification.h b/mpd-notification.h new file mode 100644 index 0000000..c618f68 --- /dev/null +++ b/mpd-notification.h @@ -0,0 +1,39 @@ +/* + * (C) 2014 by Christian Hesse + * + * This software may be used and distributed according to the terms + * of the GNU General Public License, incorporated herein by reference. + */ + +#ifndef MPD_NOTIFICATION_H +#define MPD_NOTIFICATION_H + +#include + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "config.h" +#include "version.h" + +#define PROGNAME "mpd-notification" + +#define NOTIFICATION_TIMEOUT 10000 + +/*** received_signal ***/ +void received_signal(int signal); + +/*** get_icon ***/ +char * get_icon(const char * music_dir, const char * uri); + +/*** main ***/ +int main(int argc, char ** argv); + +#endif /* MPD_NOTIFICATION_H */ -- cgit v1.2.3-54-g00ecf