aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/ContentDirectoryService.hxx
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.hxx
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.hxx')
-rw-r--r--src/db/upnp/ContentDirectoryService.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/db/upnp/ContentDirectoryService.hxx b/src/db/upnp/ContentDirectoryService.hxx
index 035849681..18bdcde22 100644
--- a/src/db/upnp/ContentDirectoryService.hxx
+++ b/src/db/upnp/ContentDirectoryService.hxx
@@ -75,13 +75,13 @@ public:
*/
bool readDir(UpnpClient_Handle handle,
const char *objectId, UPnPDirContent &dirbuf,
- Error &error);
+ Error &error) const;
bool readDirSlice(UpnpClient_Handle handle,
const char *objectId, unsigned offset,
unsigned count, UPnPDirContent& dirbuf,
unsigned &didread, unsigned &total,
- Error &error);
+ Error &error) const;
/** Search the content directory service.
*
@@ -96,7 +96,7 @@ public:
bool search(UpnpClient_Handle handle,
const char *objectId, const char *searchstring,
UPnPDirContent &dirbuf,
- Error &error);
+ Error &error) const;
/** Read metadata for a given node.
*
@@ -106,7 +106,7 @@ public:
*/
bool getMetadata(UpnpClient_Handle handle,
const char *objectId, UPnPDirContent &dirbuf,
- Error &error);
+ Error &error) const;
/** Retrieve search capabilities
*
@@ -115,7 +115,7 @@ public:
*/
bool getSearchCapabilities(UpnpClient_Handle handle,
std::list<std::string> &result,
- Error &error);
+ Error &error) const;
/** Retrieve the "friendly name" for this server, useful for display. */
const char *getFriendlyName() const {