Switch to side-by-side view
--- a/upmpd/mpdcli.hxx +++ b/upmpd/mpdcli.hxx @@ -21,6 +21,8 @@ #include <string> #include <map> #include <vector> + +#include <regex.h> class UpSong { public: @@ -129,12 +131,14 @@ std::string m_host; int m_port; std::string m_password; + regex_t m_tpuexpr; bool openconn(); bool updStatus(); bool getQueueSongs(std::vector<mpd_song*>& songs); void freeSongs(std::vector<mpd_song*>& songs); bool showError(const std::string& who); + bool looksLikeTransportURI(const std::string& path); };