Files
lnreader/shared/Epub.hpp
T
2025-05-25 08:15:58 +07:00

29 lines
475 B
C++

#include <string>
#include <vector>
#ifndef Epub_H
#define Epub_H
struct Chapter
{
std::string name;
std::string path;
};
struct EpubMetadata
{
std::string name;
std::string path;
std::string cover;
std::string summary;
std::string author;
std::string artist;
std::vector<Chapter> chapters;
std::vector<std::string> cssPaths;
std::vector<std::string> imagePaths;
};
EpubMetadata parseEpub(const std::string epub_path);
#endif