From 77c461fed7dde948f2a226611004f7739c104462 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 23:50:33 +0100 Subject: db/upnp: make several methods "const" --- src/db/upnp/ContentDirectoryService.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/db/upnp/ContentDirectoryService.cxx') 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 &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 = -- cgit v1.2.3