chromium/third_party/pdfium/public/cpp/fpdf_scopers.h

// Copyright 2018 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef PUBLIC_CPP_FPDF_SCOPERS_H_
#define PUBLIC_CPP_FPDF_SCOPERS_H_

#include <memory>
#include <type_traits>

#include "public/cpp/fpdf_deleters.h"

// Versions of FPDF types that clean up the object at scope exit.

ScopedFPDFAnnotation;

ScopedFPDFAvail;

ScopedFPDFBitmap;

ScopedFPDFClipPath;

ScopedFPDFDocument;

ScopedFPDFFont;

ScopedFPDFFormHandle;

ScopedFPDFJavaScriptAction;

ScopedFPDFPage;

ScopedFPDFPageLink;

ScopedFPDFPageObject;

ScopedFPDFStructTree;

ScopedFPDFTextFind;

ScopedFPDFTextPage;

#endif  // PUBLIC_CPP_FPDF_SCOPERS_H_