|
a/src/mediaserver/contentdirectory.cxx |
|
b/src/mediaserver/contentdirectory.cxx |
|
... |
|
... |
99 |
sTpContentDirectory("urn:schemas-upnp-org:service:ContentDirectory:1");
|
99 |
sTpContentDirectory("urn:schemas-upnp-org:service:ContentDirectory:1");
|
100 |
static const string
|
100 |
static const string
|
101 |
sIdContentDirectory("urn:upnp-org:serviceId:ContentDirectory");
|
101 |
sIdContentDirectory("urn:upnp-org:serviceId:ContentDirectory");
|
102 |
|
102 |
|
103 |
ContentDirectory::ContentDirectory(MediaServer *dev, bool enabled)
|
103 |
ContentDirectory::ContentDirectory(MediaServer *dev, bool enabled)
|
104 |
: UpnpService(sTpContentDirectory, sIdContentDirectory, dev),
|
104 |
: UpnpService(sTpContentDirectory, sIdContentDirectory,
|
|
|
105 |
"ContentDirectory.xml", dev),
|
105 |
m(new Internal(this, dev))
|
106 |
m(new Internal(this, dev))
|
106 |
{
|
107 |
{
|
107 |
dev->addActionMapping(
|
108 |
dev->addActionMapping(
|
108 |
this, "GetSearchCapabilities",
|
109 |
this, "GetSearchCapabilities",
|
109 |
bind(&ContentDirectory::actGetSearchCapabilities, this, _1, _2));
|
110 |
bind(&ContentDirectory::actGetSearchCapabilities, this, _1, _2));
|