blob: 793889c6cfbd48791439fe89e28338a09ff7299f [file] [log] [blame]
// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FPDFSDK_CPDFSDK_WIDGETHANDLER_H_
#define FPDFSDK_CPDFSDK_WIDGETHANDLER_H_
#include <memory>
#include "core/fxcrt/fx_coordinates.h"
#include "fpdfsdk/ipdfsdk_annothandler.h"
class CPDF_Annot;
class CPDFSDK_Annot;
class CPDFSDK_PageView;
class CPDFSDK_WidgetHandler final : public IPDFSDK_AnnotHandler {
public:
CPDFSDK_WidgetHandler();
~CPDFSDK_WidgetHandler() override;
// IPDFSDK_AnnotHandler:
std::unique_ptr<CPDFSDK_Annot> NewAnnot(CPDF_Annot* pAnnot,
CPDFSDK_PageView* pPageView) override;
};
#endif // FPDFSDK_CPDFSDK_WIDGETHANDLER_H_