From 9daec60824d085db8c2f841fd389c725df1f8b0b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 30 Nov 2017 21:26:51 +0000 Subject: Cleanup XFA packet code Remove GetPacketByID, move GetPacketByName to the xfa_utils file. Cleanup CreateNode to accept the XFA_XDPPACKET instead of the packet info. Change-Id: I0f246c84f61b6b4175ca307bdcd125d9bc24bb1e Reviewed-on: https://pdfium-review.googlesource.com/20010 Reviewed-by: Henrique Nakashima Reviewed-by: Lei Zhang Commit-Queue: dsinclair --- xfa/fxfa/fxfa_basic.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xfa/fxfa/fxfa_basic.h') diff --git a/xfa/fxfa/fxfa_basic.h b/xfa/fxfa/fxfa_basic.h index b8e35746d6..1f79608ff8 100644 --- a/xfa/fxfa/fxfa_basic.h +++ b/xfa/fxfa/fxfa_basic.h @@ -87,6 +87,8 @@ enum XFA_XDPPACKET { 1 << static_cast(XFA_PacketType::Stylesheet), XFA_XDPPACKET_USER = 1 << static_cast(XFA_PacketType::User), XFA_XDPPACKET_XDP = 1 << static_cast(XFA_PacketType::Xdp), + + XFA_XDPPACKET_LAST = XFA_XDPPACKET_ConnectionSet + 1 }; enum XFA_XDPPACKET_FLAGS { -- cgit v1.2.3