|
a/libupnpp/control/cdirectory.cxx |
|
b/libupnpp/control/cdirectory.cxx |
|
... |
|
... |
40 |
#include "libupnpp/log.hxx" // for LOGDEB, LOGINF, LOGERR
|
40 |
#include "libupnpp/log.hxx" // for LOGDEB, LOGINF, LOGERR
|
41 |
#include "libupnpp/soaphelp.hxx" // for SoapOutgoing, SoapOutgoing, etc
|
41 |
#include "libupnpp/soaphelp.hxx" // for SoapOutgoing, SoapOutgoing, etc
|
42 |
#include "libupnpp/upnpp_p.hxx" // for csvToStrings
|
42 |
#include "libupnpp/upnpp_p.hxx" // for csvToStrings
|
43 |
|
43 |
|
44 |
using namespace std;
|
44 |
using namespace std;
|
45 |
using namespace STD_PLACEHOLDERS;
|
45 |
using namespace std::placeholders;
|
46 |
using namespace UPnPP;
|
46 |
using namespace UPnPP;
|
47 |
|
47 |
|
48 |
namespace UPnPClient {
|
48 |
namespace UPnPClient {
|
49 |
|
49 |
|
50 |
// The service type string for Content Directories:
|
50 |
// The service type string for Content Directories:
|
|
... |
|
... |
57 |
const string::size_type sz(SType.size()-2);
|
57 |
const string::size_type sz(SType.size()-2);
|
58 |
return !SType.compare(0, sz, st, 0, sz);
|
58 |
return !SType.compare(0, sz, st, 0, sz);
|
59 |
}
|
59 |
}
|
60 |
|
60 |
|
61 |
void ContentDirectory::evtCallback(
|
61 |
void ContentDirectory::evtCallback(
|
62 |
const STD_UNORDERED_MAP<string, string>& props)
|
62 |
const std::unordered_map<string, string>& props)
|
63 |
{
|
63 |
{
|
64 |
for (STD_UNORDERED_MAP<std::string, std::string>::const_iterator it =
|
64 |
for (std::unordered_map<std::string, std::string>::const_iterator it =
|
65 |
props.begin(); it != props.end(); it++) {
|
65 |
props.begin(); it != props.end(); it++) {
|
66 |
if (!getReporter()) {
|
66 |
if (!getReporter()) {
|
67 |
LOGDEB1("ContentDirectory::evtCallback: " << it->first << " -> "
|
67 |
LOGDEB1("ContentDirectory::evtCallback: " << it->first << " -> "
|
68 |
<< it->second << endl);
|
68 |
<< it->second << endl);
|
69 |
continue;
|
69 |
continue;
|