Program Listing for File PDFFileParser.hpp

↰ Return to documentation for file (src/pdfs/PDFFileParser.hpp)

#ifndef PDFFILEPARSER_HPP
#define PDFFILEPARSER_HPP

#include "PDF.hpp"
#include <string>
#include <toml.hpp>

namespace pdfs
{
    auto parsePDFDescriptor(const std::string& fileName) -> PDF;

    auto parsePDFLegacy(const std::string& fileName) -> PDF;

    auto parsePDFToml(const toml::table& deck) -> PDF;

    auto parsePDFTomlString(const std::string& descriptor) -> PDF;
} // namespace pdfs

#endif // PDFFILEPARSER_HPP