From d86cc5bf42bc22e1903f0d1fada5282e7ec9ac89 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 Feb 2014 22:16:20 +0100 Subject: db/Song: update API documentation for SimpleDatabasePlugin --- src/db/Song.hxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/db/Song.hxx b/src/db/Song.hxx index d73c42e00..75fce20e9 100644 --- a/src/db/Song.hxx +++ b/src/db/Song.hxx @@ -35,7 +35,8 @@ class DetachedSong; class Storage; /** - * A song file inside the configured music directory. + * A song file inside the configured music directory. Internal + * #SimpleDatabase class. */ struct Song { /** @@ -51,9 +52,8 @@ struct Song { Tag tag; /** - * The #Directory that contains this song. May be nullptr if - * the current database plugin does not manage the parent - * directory this way. + * The #Directory that contains this song. Must be + * non-nullptr. directory this way. */ Directory *const parent; @@ -71,8 +71,7 @@ struct Song { unsigned end_ms; /** - * The file name. If #parent is nullptr, then this is the URI - * relative to the music directory. + * The file name. */ char uri[sizeof(int)]; -- cgit v1.2.3