31d7453a50
import audiofiles
21 lines
417 B
C++
21 lines
417 B
C++
#pragma once
|
|
|
|
#include "Metadata.h"
|
|
#include <memory>
|
|
#include <taglib/tstring.h>
|
|
#include <taglib/fileref.h>
|
|
#include <taglib/tvariant.h>
|
|
|
|
|
|
class Tag {
|
|
public:
|
|
void readTag( TagLib::FileName fileName );
|
|
Metadata getMetadata() const;
|
|
|
|
const std::string& getFilePath() const;
|
|
const auto getArtwork() const;
|
|
private:
|
|
Metadata metadata_;
|
|
std::string filePath_;
|
|
};
|