db/Interface: GetSong() throws exception on error
This commit is contained in:
@@ -26,7 +26,6 @@ struct LightSong;
|
||||
class Database;
|
||||
class Storage;
|
||||
class DetachedSong;
|
||||
class Error;
|
||||
|
||||
/**
|
||||
* "Detach" the #Song object, i.e. convert it to a #DetachedSong
|
||||
@@ -44,7 +43,7 @@ DatabaseDetachSong(const Storage &storage, const LightSong &song);
|
||||
*/
|
||||
gcc_malloc gcc_nonnull_all
|
||||
DetachedSong *
|
||||
DatabaseDetachSong(const Database &db, const Storage &storage, const char *uri,
|
||||
Error &error);
|
||||
DatabaseDetachSong(const Database &db, const Storage &storage,
|
||||
const char *uri);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user