feat(mpd): Add support for icon-consume ()

This commit is contained in:
Jens Henniges 2017-12-04 20:38:17 +01:00 committed by NBonaparte
parent 17f1f19012
commit d3abcc97f6
4 changed files with 32 additions and 2 deletions
include/modules

View file

@ -40,6 +40,7 @@ namespace modules {
static constexpr const char* TAG_ICON_RANDOM{"<icon-random>"};
static constexpr const char* TAG_ICON_REPEAT{"<icon-repeat>"};
static constexpr const char* TAG_ICON_REPEAT_ONE{"<icon-repeatone>"};
static constexpr const char* TAG_ICON_CONSUME{"<icon-consume>"};
static constexpr const char* TAG_ICON_PREV{"<icon-prev>"};
static constexpr const char* TAG_ICON_STOP{"<icon-stop>"};
static constexpr const char* TAG_ICON_PLAY{"<icon-play>"};
@ -59,6 +60,7 @@ namespace modules {
static constexpr const char* EVENT_REPEAT{"mpdrepeat"};
static constexpr const char* EVENT_REPEAT_ONE{"mpdrepeatone"};
static constexpr const char* EVENT_RANDOM{"mpdrandom"};
static constexpr const char* EVENT_CONSUME{"mpdconsume"};
static constexpr const char* EVENT_SEEK{"mpdseek"};
unique_ptr<mpdconnection> m_mpd;