Audio file metadata and thumbnails
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "json.hpp"
|
||||
#include "AudioFileMetadata.hpp"
|
||||
|
||||
namespace pipedal {
|
||||
|
||||
@@ -30,11 +31,19 @@ namespace pipedal {
|
||||
:pathname_(pathname), displayName_(displayName), isDirectory_(isDirectory),isProtected_(isProtected)
|
||||
{
|
||||
|
||||
}
|
||||
FileEntry(const std::string&pathname,const std::string &displayName, bool isProtected,
|
||||
std::shared_ptr<AudioFileMetadata> metadata
|
||||
)
|
||||
:pathname_(pathname), displayName_(displayName), isDirectory_(false),isProtected_(isProtected),metadata_(metadata)
|
||||
{
|
||||
|
||||
}
|
||||
std::string pathname_;
|
||||
std::string displayName_;
|
||||
bool isDirectory_ = false;
|
||||
bool isProtected_ = false;
|
||||
std::shared_ptr<AudioFileMetadata> metadata_;
|
||||
|
||||
DECLARE_JSON_MAP(FileEntry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user