feat(mpd): Allow for specifying the reconnect interval

This commit is contained in:
Minijackson
2019-04-17 11:01:35 +02:00
parent 8c9dd94670
commit 557b786ce0
2 changed files with 8 additions and 6 deletions

View File

@ -27,7 +27,8 @@ class MPD : public ALabel {
// Not using unique_ptr since we don't manage the pointer
// (It's either nullptr, or from the config)
const char* server;
const char* server_;
unsigned port_;
unique_connection connection_;
unique_status status_;