1//========================================================================
2//
3// CurlPDFDocBuilder.h
4//
5// This file is licensed under the GPLv2 or later
6//
7// Copyright 2010 Hib Eris <hib@hiberis.nl>
8// Copyright 2010, 2018, 2022 Albert Astals Cid <aacid@kde.org>
9// Copyright 2021 Oliver Sander <oliver.sander@tu-dresden.de>
10//
11//========================================================================
12
13#ifndef CURLPDFDOCBUILDER_H
14#define CURLPDFDOCBUILDER_H
15
16#include "PDFDocBuilder.h"
17
18//------------------------------------------------------------------------
19// CurlPDFDocBuilder
20//
21// The CurlPDFDocBuilder implements a PDFDocBuilder for 'http(s)://'.
22//------------------------------------------------------------------------
23
24class CurlPDFDocBuilder : public PDFDocBuilder
25{
26
27public:
28 std::unique_ptr<PDFDoc> buildPDFDoc(const GooString &uri, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr) override;
29 bool supports(const GooString &uri) override;
30};
31
32#endif /* CURLPDFDOCBUILDER_H */
33

source code of poppler/poppler/CurlPDFDocBuilder.h