|
a/src/conman.cxx |
|
b/src/conman.cxx |
|
... |
|
... |
37 |
|
37 |
|
38 |
static const string sTpCM("urn:schemas-upnp-org:service:ConnectionManager:1");
|
38 |
static const string sTpCM("urn:schemas-upnp-org:service:ConnectionManager:1");
|
39 |
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
|
39 |
static const string sIdCM("urn:upnp-org:serviceId:ConnectionManager");
|
40 |
|
40 |
|
41 |
UpMpdConMan::UpMpdConMan(UpnpDevice *dev)
|
41 |
UpMpdConMan::UpMpdConMan(UpnpDevice *dev)
|
42 |
: UpnpService(sTpCM, sIdCM, dev)
|
42 |
: UpnpService(sTpCM, sIdCM, "ConnectionManager.xml", dev)
|
43 |
{
|
43 |
{
|
44 |
dev->addActionMapping(this,"GetCurrentConnectionIDs",
|
44 |
dev->addActionMapping(this,"GetCurrentConnectionIDs",
|
45 |
bind(&UpMpdConMan::getCurrentConnectionIDs,
|
45 |
bind(&UpMpdConMan::getCurrentConnectionIDs,
|
46 |
this, _1,_2));
|
46 |
this, _1,_2));
|
47 |
dev->addActionMapping(this,"GetCurrentConnectionInfo",
|
47 |
dev->addActionMapping(this,"GetCurrentConnectionInfo",
|