|
a/src/ohinfo.cxx |
|
b/src/ohinfo.cxx |
|
... |
|
... |
39 |
|
39 |
|
40 |
static const string sTpProduct("urn:av-openhome-org:service:Info:1");
|
40 |
static const string sTpProduct("urn:av-openhome-org:service:Info:1");
|
41 |
static const string sIdProduct("urn:av-openhome-org:serviceId:Info");
|
41 |
static const string sIdProduct("urn:av-openhome-org:serviceId:Info");
|
42 |
|
42 |
|
43 |
OHInfo::OHInfo(UpMpd *dev)
|
43 |
OHInfo::OHInfo(UpMpd *dev)
|
44 |
: OHService(sTpProduct, sIdProduct, dev), m_ohpl(0)
|
44 |
: OHService(sTpProduct, sIdProduct, "OHInfo.xml", dev), m_ohpl(0)
|
45 |
{
|
45 |
{
|
46 |
dev->addActionMapping(this, "Counters",
|
46 |
dev->addActionMapping(this, "Counters",
|
47 |
bind(&OHInfo::counters, this, _1, _2));
|
47 |
bind(&OHInfo::counters, this, _1, _2));
|
48 |
dev->addActionMapping(this, "Track",
|
48 |
dev->addActionMapping(this, "Track",
|
49 |
bind(&OHInfo::track, this, _1, _2));
|
49 |
bind(&OHInfo::track, this, _1, _2));
|