song: convert header to C++
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user