diff --git a/include/opds_dumper.h b/include/opds_dumper.h index b76f7abdc..9c5c4beaa 100644 --- a/include/opds_dumper.h +++ b/include/opds_dumper.h @@ -44,6 +44,7 @@ namespace kiwix class OPDSDumper { public: + OPDSDumper() = default; OPDSDumper(Library library); ~OPDSDumper(); @@ -76,6 +77,13 @@ class OPDSDumper */ void setRootLocation(const std::string& rootLocation) { this->rootLocation = rootLocation; } + /** + * Set the library to dump. + * + * @param library The library to dump. + */ + void setLibrary(Library library) { this->library = library; } + protected: kiwix::Library library; std::string id;