diff --git a/src/mpdclient.h b/src/mpdclient.h
index 798e979c4d2bbcf73f006282b944627e71c97794..7cdf7f5da121021f1726fe5a703e3489a944bbcf 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
enum mpd_idle events;
};
+enum {
+ /**
+ * all idle events the version of libmpdclient, ncmpc is compiled
+ * against, supports
+ */
+ MPD_IDLE_ALL = MPD_IDLE_DATABASE
+ | MPD_IDLE_STORED_PLAYLIST
+ | MPD_IDLE_QUEUE
+ | MPD_IDLE_PLAYER
+ | MPD_IDLE_MIXER
+ | MPD_IDLE_OUTPUT
+ | MPD_IDLE_OPTIONS
+ | MPD_IDLE_UPDATE
+#if LIBMPDCLIENT_CHECK_VERSION(2,5,0)
+ | MPD_IDLE_STICKER
+ | MPD_IDLE_SUBSCRIPTION
+ | MPD_IDLE_MESSAGE
+#endif
+};
+
/** functions ***************************************************************/
bool