diff options
author | Max Kellermann <max@duempel.org> | 2014-02-26 08:54:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-26 10:00:38 +0100 |
commit | 367d660c083c74f0ebf36341880f1412f98f18f0 (patch) | |
tree | 47f59e147a9765f065ca7db305193bab50f49541 /src/db/plugins/simple/Directory.hxx | |
parent | 4d73e4d605a8abecff28b7e8c015d252b25954a9 (diff) | |
download | mpd-367d660c083c74f0ebf36341880f1412f98f18f0.tar.gz mpd-367d660c083c74f0ebf36341880f1412f98f18f0.tar.xz mpd-367d660c083c74f0ebf36341880f1412f98f18f0.zip |
db/Directory: add DEVICE_* documentation
Diffstat (limited to 'src/db/plugins/simple/Directory.hxx')
-rw-r--r-- | src/db/plugins/simple/Directory.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
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 <string> +/** + * 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) \ |