/* * (C) 2011-2016 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 #define _GNU_SOURCE #include #include #ifdef HAVE_LIBAV #include #endif #include #include #include #include #include #include #include #include "config.h" #include "version.h" #define PROGNAME "mpd-notification" /*** received_signal ***/ void received_signal(int signal); /*** retrieve_album_art ***/ #ifdef HAVE_LIBAV GdkPixbuf * retrieve_album_art(const char * music_dir, const char * uri); #endif /*** get_icon ***/ char * get_icon(const char * music_dir, const char * uri); /*** append_string ***/ char * append_string(char * string, const char * format, const char * s); /*** main ***/ int main(int argc, char ** argv); #endif /* MPD_NOTIFICATION_H */