//======================================================================== // // CurlPDFDocBuilder.h // // This file is licensed under the GPLv2 or later // // Copyright 2010 Hib Eris // Copyright 2010, 2018, 2022 Albert Astals Cid // Copyright 2021 Oliver Sander // //======================================================================== #ifndef CURLPDFDOCBUILDER_H #define CURLPDFDOCBUILDER_H #include "PDFDocBuilder.h" //------------------------------------------------------------------------ // CurlPDFDocBuilder // // The CurlPDFDocBuilder implements a PDFDocBuilder for 'http(s)://'. //------------------------------------------------------------------------ class CurlPDFDocBuilder : public PDFDocBuilder { public: std::unique_ptr buildPDFDoc(const GooString &uri, const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, void *guiDataA = nullptr) override; bool supports(const GooString &uri) override; }; #endif /* CURLPDFDOCBUILDER_H */