Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cffl_perwindowdata.cpp
Go to the documentation of this file.
1// Copyright 2020 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "fpdfsdk/formfiller/cffl_perwindowdata.h"
8
9#include "fpdfsdk/cpdfsdk_widget.h"
10#include "third_party/base/memory/ptr_util.h"
11
12CFFL_PerWindowData::CFFL_PerWindowData(CPDFSDK_Widget* pWidget,
13 const CPDFSDK_PageView* pPageView,
14 uint32_t nAppearanceAge,
15 uint32_t nValueAge)
18 m_nAppearanceAge(nAppearanceAge),
19 m_nValueAge(nValueAge) {}
20
21CFFL_PerWindowData::CFFL_PerWindowData(const CFFL_PerWindowData& that) =
22 default;
23
24CFFL_PerWindowData::~CFFL_PerWindowData() = default;
25
27 const {
28 // Private constructor.
29 return pdfium::WrapUnique(new CFFL_PerWindowData(*this));
30}
std::unique_ptr< IPWL_FillerNotify::PerWindowData > Clone() const override
CFFL_PerWindowData(CPDFSDK_Widget *pWidget, const CPDFSDK_PageView *pPageView, uint32_t nAppearanceAge, uint32_t nValueAge)
~CFFL_PerWindowData() override