|
a/libupnpp/control/ohplaylist.cxx |
|
b/libupnpp/control/ohplaylist.cxx |
|
... |
|
... |
33 |
#include "libupnpp/log.hxx" // for LOGERR, LOGDEB1, LOGINF
|
33 |
#include "libupnpp/log.hxx" // for LOGERR, LOGDEB1, LOGINF
|
34 |
#include "libupnpp/soaphelp.hxx" // for SoapIncoming, etc
|
34 |
#include "libupnpp/soaphelp.hxx" // for SoapIncoming, etc
|
35 |
#include "libupnpp/upnpp_p.hxx" // for stringToBool
|
35 |
#include "libupnpp/upnpp_p.hxx" // for stringToBool
|
36 |
|
36 |
|
37 |
using namespace std;
|
37 |
using namespace std;
|
38 |
using namespace STD_PLACEHOLDERS;
|
38 |
using namespace std::placeholders;
|
39 |
using namespace UPnPP;
|
39 |
using namespace UPnPP;
|
40 |
|
40 |
|
41 |
namespace UPnPClient {
|
41 |
namespace UPnPClient {
|
42 |
|
42 |
|
43 |
const string OHPlaylist::SType("urn:av-openhome-org:service:Playlist:1");
|
43 |
const string OHPlaylist::SType("urn:av-openhome-org:service:Playlist:1");
|
|
... |
|
... |
68 |
*tpp = OHPlaylist::TPS_Unknown;
|
68 |
*tpp = OHPlaylist::TPS_Unknown;
|
69 |
return UPNP_E_BAD_RESPONSE;
|
69 |
return UPNP_E_BAD_RESPONSE;
|
70 |
}
|
70 |
}
|
71 |
|
71 |
|
72 |
void OHPlaylist::evtCallback(
|
72 |
void OHPlaylist::evtCallback(
|
73 |
const STD_UNORDERED_MAP<std::string, std::string>& props)
|
73 |
const std::unordered_map<std::string, std::string>& props)
|
74 |
{
|
74 |
{
|
75 |
LOGDEB1("OHPlaylist::evtCallback: getReporter(): " << getReporter() << endl);
|
75 |
LOGDEB1("OHPlaylist::evtCallback: getReporter(): " << getReporter() << endl);
|
76 |
for (STD_UNORDERED_MAP<std::string, std::string>::const_iterator it =
|
76 |
for (std::unordered_map<std::string, std::string>::const_iterator it =
|
77 |
props.begin(); it != props.end(); it++) {
|
77 |
props.begin(); it != props.end(); it++) {
|
78 |
if (!getReporter()) {
|
78 |
if (!getReporter()) {
|
79 |
LOGDEB1("OHPlaylist::evtCallback: " << it->first << " -> "
|
79 |
LOGDEB1("OHPlaylist::evtCallback: " << it->first << " -> "
|
80 |
<< it->second << endl);
|
80 |
<< it->second << endl);
|
81 |
continue;
|
81 |
continue;
|