DatabasePlugin: make Visit() const

This commit is contained in:
Max Kellermann
2012-08-02 18:20:43 +02:00
parent 8e331cfc65
commit af1c497759
3 changed files with 6 additions and 6 deletions

View File

@@ -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 {