Switch to unified view

a/upmpd/conman.cxx b/upmpd/conman.cxx
...
...
44
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
44
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
45
45
46
UpMpdConMan::UpMpdConMan(UpMpd *dev)
46
UpMpdConMan::UpMpdConMan(UpMpd *dev)
47
    : UpnpService(sTpCM, sIdCM, dev)
47
    : UpnpService(sTpCM, sIdCM, dev)
48
{
48
{
49
    dev->addActionMapping("GetCurrentConnectionIDs", 
49
    dev->addActionMapping(this,"GetCurrentConnectionIDs", 
50
                          bind(&UpMpdConMan::getCurrentConnectionIDs, 
50
                          bind(&UpMpdConMan::getCurrentConnectionIDs, 
51
                               this, _1,_2));
51
                               this, _1,_2));
52
    dev->addActionMapping("GetCurrentConnectionInfo", 
52
    dev->addActionMapping(this,"GetCurrentConnectionInfo", 
53
                          bind(&UpMpdConMan::getCurrentConnectionInfo, 
53
                          bind(&UpMpdConMan::getCurrentConnectionInfo, 
54
                               this,_1,_2));
54
                               this,_1,_2));
55
    dev->addActionMapping("GetProtocolInfo", 
55
    dev->addActionMapping(this,"GetProtocolInfo", 
56
                          bind(&UpMpdConMan::getProtocolInfo, this, _1, _2));
56
                          bind(&UpMpdConMan::getProtocolInfo, this, _1, _2));
57
}
57
}
58
58
59
bool UpMpdConMan::getEventData(bool all, std::vector<std::string>& names, 
59
bool UpMpdConMan::getEventData(bool all, std::vector<std::string>& names, 
60
                                 std::vector<std::string>& values)
60
                                 std::vector<std::string>& values)