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

// Copyright 2017 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_DELETERS_H_
#define PUBLIC_CPP_FPDF_DELETERS_H_

#include "public/fpdf_annot.h"
#include "public/fpdf_dataavail.h"
#include "public/fpdf_edit.h"
#include "public/fpdf_formfill.h"
#include "public/fpdf_javascript.h"
#include "public/fpdf_structtree.h"
#include "public/fpdf_text.h"
#include "public/fpdf_transformpage.h"
#include "public/fpdfview.h"

// Custom deleters for using FPDF_* types with std::unique_ptr<>.

struct FPDFAnnotationDeleter {};

struct FPDFAvailDeleter {};

struct FPDFBitmapDeleter {};

struct FPDFClipPathDeleter {};

struct FPDFDocumentDeleter {};

struct FPDFFontDeleter {};

struct FPDFFormHandleDeleter {};

struct FPDFJavaScriptActionDeleter {};

struct FPDFPageDeleter {};

struct FPDFPageLinkDeleter {};

struct FPDFPageObjectDeleter {};

struct FPDFStructTreeDeleter {};

struct FPDFTextFindDeleter {};

struct FPDFTextPageDeleter {};

#endif  // PUBLIC_CPP_FPDF_DELETERS_H_