29 lines
929 B
C++
29 lines
929 B
C++
// pdfengine — public umbrella header for the PDF SDK core.
|
|
//
|
|
// Phase 0 surface only: version + build introspection. The real document API
|
|
// (PdfDocument / PdfPage) is frozen at Gate G0b and added in Phase 1 — see
|
|
// pdf_document.hpp.
|
|
#pragma once
|
|
|
|
#include <pdfengine/version.hpp>
|
|
#include <string_view>
|
|
|
|
namespace pdfengine {
|
|
|
|
// Human-readable engine version, e.g. "0.1.0".
|
|
[[nodiscard]] std::string_view engineVersion() noexcept;
|
|
|
|
// One-line build descriptor, e.g. "pdfengine 0.1.0 (pdfium=off)".
|
|
[[nodiscard]] std::string_view engineBuildInfo() noexcept;
|
|
|
|
// True if this build was compiled and linked against the PDFium parser core.
|
|
[[nodiscard]] bool engineHasPdfium() noexcept;
|
|
|
|
// True if this build was compiled and linked against the Skia graphics core.
|
|
[[nodiscard]] bool engineHasSkia() noexcept;
|
|
|
|
// Emits engineBuildInfo() through spdlog at info level.
|
|
void engineLogBuildInfo();
|
|
|
|
} // namespace pdfengine
|