aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/ContentDirectoryService.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 23:50:33 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 23:50:33 +0100
commit77c461fed7dde948f2a226611004f7739c104462 (patch)
treeb62cb324be88b45c550937a6d8af9ea3fdb9faaa /src/db/upnp/ContentDirectoryService.cxx
parenta89c21b06ae3850fb05b5d05da156297b8195f53 (diff)
downloadmpd-77c461fed7dde948f2a226611004f7739c104462.tar.gz
mpd-77c461fed7dde948f2a226611004f7739c104462.tar.xz
mpd-77c461fed7dde948f2a226611004f7739c104462.zip
db/upnp: make several methods "const"
Diffstat (limited to 'src/db/upnp/ContentDirectoryService.cxx')
-rw-r--r--src/db/upnp/ContentDirectoryService.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/db/upnp/ContentDirectoryService.cxx b/src/db/upnp/ContentDirectoryService.cxx
index 2f9565d95..1c4e43e12 100644
--- a/src/db/upnp/ContentDirectoryService.cxx
+++ b/src/db/upnp/ContentDirectoryService.cxx
@@ -63,7 +63,7 @@ ContentDirectoryService::readDirSlice(UpnpClient_Handle hdl,
const char *objectId, unsigned offset,
unsigned count, UPnPDirContent &dirbuf,
unsigned &didreadp, unsigned &totalp,
- Error &error)
+ Error &error) const
{
// Create request
char ofbuf[100], cntbuf[100];
@@ -112,7 +112,7 @@ bool
ContentDirectoryService::readDir(UpnpClient_Handle handle,
const char *objectId,
UPnPDirContent &dirbuf,
- Error &error)
+ Error &error) const
{
unsigned offset = 0, total = -1, count;
@@ -132,7 +132,7 @@ ContentDirectoryService::search(UpnpClient_Handle hdl,
const char *objectId,
const char *ss,
UPnPDirContent &dirbuf,
- Error &error)
+ Error &error) const
{
unsigned offset = 0, total = -1, count;
@@ -189,7 +189,7 @@ ContentDirectoryService::search(UpnpClient_Handle hdl,
bool
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl,
std::list<std::string> &result,
- Error &error)
+ Error &error) const
{
assert(result.empty());
@@ -234,7 +234,7 @@ bool
ContentDirectoryService::getMetadata(UpnpClient_Handle hdl,
const char *objectId,
UPnPDirContent &dirbuf,
- Error &error)
+ Error &error) const
{
// Create request
IXML_Document *request =