1// Copyright 2017 PDFium Authors. All rights reserved. 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 "xfa/fxfa/parser/cxfa_proto.h" 8 9namespace { 10 11constexpr wchar_t kName[] = L"proto"; 12 13} // namespace 14 15CXFA_Proto::CXFA_Proto(CXFA_Document* doc, XFA_PacketType packet) 16 : CXFA_Node(doc, 17 packet, 18 (XFA_XDPPACKET_Template | XFA_XDPPACKET_Form), 19 XFA_ObjectType::Node, 20 XFA_Element::Proto, 21 nullptr, 22 nullptr, 23 kName) {} 24 25CXFA_Proto::~CXFA_Proto() {} 26