From 367d660c083c74f0ebf36341880f1412f98f18f0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Feb 2014 08:54:14 +0100 Subject: db/Directory: add DEVICE_* documentation --- src/db/plugins/simple/Directory.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/db/plugins/simple/Directory.hxx b/src/db/plugins/simple/Directory.hxx index 6c60b7ebf..716afecea 100644 --- a/src/db/plugins/simple/Directory.hxx +++ b/src/db/plugins/simple/Directory.hxx @@ -28,7 +28,17 @@ #include +/** + * Virtual directory that is really an archive file or a folder inside + * the archive (special value for Directory::device). + */ static constexpr unsigned DEVICE_INARCHIVE = -1; + +/** + * Virtual directory that is really a song file with one or more "sub" + * songs as specified by DecoderPlugin::container_scan() (special + * value for Directory::device). + */ static constexpr unsigned DEVICE_CONTAINER = -2; #define directory_for_each_child(pos, directory) \ -- cgit v1.2.3