Commit 367d660c authored by Max Kellermann's avatar Max Kellermann

db/Directory: add DEVICE_* documentation

parent 4d73e4d6
...@@ -28,7 +28,17 @@ ...@@ -28,7 +28,17 @@
#include <string> #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; 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; static constexpr unsigned DEVICE_CONTAINER = -2;
#define directory_for_each_child(pos, directory) \ #define directory_for_each_child(pos, directory) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment