aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
committerMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
commitba161ec572b98d3bcf9f735ff122133319fe896a (patch)
treea211690e3a8b7fce1fb6db540228122bead1f2bc /src/DatabasePlugin.hxx
parent43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff)
downloadmpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip
song: convert header to C++
Diffstat (limited to 'src/DatabasePlugin.hxx')
-rw-r--r--src/DatabasePlugin.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx
index a175b3cd9..f5406328c 100644
--- a/src/DatabasePlugin.hxx
+++ b/src/DatabasePlugin.hxx
@@ -36,6 +36,7 @@ extern "C" {
struct config_param;
struct DatabaseSelection;
struct db_visitor;
+struct Song;
struct DatabaseStats {
/**
@@ -91,14 +92,14 @@ public:
* @param uri_utf8 the URI of the song within the music
* directory (UTF-8)
*/
- virtual struct song *GetSong(const char *uri_utf8,
- GError **error_r) const = 0;
+ virtual Song *GetSong(const char *uri_utf8,
+ GError **error_r) const = 0;
/**
* Mark the song object as "unused". Call this on objects
* returned by GetSong().
*/
- virtual void ReturnSong(struct song *song) const = 0;
+ virtual void ReturnSong(Song *song) const = 0;
/**
* Visit the selected entities.