Files
lnreader/modules/nitro-epub/cpp/import/EpubParser.hpp
T
2026-07-24 12:30:43 +05:30

24 lines
428 B
C++

#pragma once
#include <string>
#include <vector>
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);