diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_test_document.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_test_document.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_test_document.h b/core/fpdfapi/parser/cpdf_test_document.h new file mode 100644 index 000000000..f50dc8ed3 --- /dev/null +++ b/core/fpdfapi/parser/cpdf_test_document.h @@ -0,0 +1,20 @@ +// Copyright 2022 The PDFium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_ +#define CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_ + +#include "core/fpdfapi/parser/cpdf_document.h" +#include "core/fxcrt/retain_ptr.h" + +class CPDF_Dictionary; + +class CPDF_TestDocument : public CPDF_Document { + public: + CPDF_TestDocument(); + + void SetRoot(RetainPtr<CPDF_Dictionary> root); +}; + +#endif // CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_ |