aboutsummaryrefslogtreecommitdiff
path: root/src/DatabasePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-02 18:20:43 +0200
committerMax Kellermann <max@duempel.org>2012-08-02 19:12:27 +0200
commitaf1c497759dd9289e2eadfe4e33ee6164ad7cd9a (patch)
tree41db26d54faf1cbc0f212cff6c4deaed47ad5449 /src/DatabasePlugin.hxx
parent8e331cfc65b6817a147dfaac4d9c4d01414782ac (diff)
DatabasePlugin: make Visit() const
Diffstat (limited to 'src/DatabasePlugin.hxx')
-rw-r--r--src/DatabasePlugin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx
index 71ad88ac..7ad0a8ee 100644
--- a/src/DatabasePlugin.hxx
+++ b/src/DatabasePlugin.hxx
@@ -59,7 +59,7 @@ public:
* directory (UTF-8)
*/
virtual struct song *GetSong(const char *uri_utf8,
- GError **error_r) = 0;
+ GError **error_r) const = 0;
/**
* Visit the selected entities.
@@ -68,7 +68,7 @@ public:
VisitDirectory visit_directory,
VisitSong visit_song,
VisitPlaylist visit_playlist,
- GError **error_r) = 0;
+ GError **error_r) const = 0;
};
struct DatabasePlugin {