aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/ContentDirectoryService.hxx
diff options
context:
space:
mode:
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 {