|
a/libupnpp/control/ohreceiver.cxx |
|
b/libupnpp/control/ohreceiver.cxx |
|
... |
|
... |
46 |
// include a version in comparisons, as we are satisfied with version1
|
46 |
// include a version in comparisons, as we are satisfied with version1
|
47 |
bool OHReceiver::isOHRcService(const string& st)
|
47 |
bool OHReceiver::isOHRcService(const string& st)
|
48 |
{
|
48 |
{
|
49 |
const string::size_type sz(SType.size()-2);
|
49 |
const string::size_type sz(SType.size()-2);
|
50 |
return !SType.compare(0, sz, st, 0, sz);
|
50 |
return !SType.compare(0, sz, st, 0, sz);
|
|
|
51 |
}
|
|
|
52 |
bool OHReceiver::serviceTypeMatch(const std::string& tp)
|
|
|
53 |
{
|
|
|
54 |
return isOHRcService(tp);
|
51 |
}
|
55 |
}
|
52 |
|
56 |
|
53 |
void OHReceiver::evtCallback(
|
57 |
void OHReceiver::evtCallback(
|
54 |
const std::unordered_map<std::string, std::string>& props)
|
58 |
const std::unordered_map<std::string, std::string>& props)
|
55 |
{
|
59 |
{
|